Tabnine Logo
lsarpc$LsarTrustInformation.decode
Code IndexAdd Tabnine to your IDE (free)

How to use
decode
method
in
jcifs.dcerpc.msrpc.lsarpc$LsarTrustInformation

Best Java code snippets using jcifs.dcerpc.msrpc.lsarpc$LsarTrustInformation.decode (Showing top 6 results out of 315)

origin: org.codelibs/jcifs

  @Override
  public void decode ( NdrBuffer _src ) throws NdrException {
    _src.align(4);
    this.count = _src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    this.max_count = _src.dec_ndr_long();
    if ( _domainsp != 0 ) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if ( this.domains == null ) {
        if ( _domainss < 0 || _domainss > 0xFFFF )
          throw new NdrException(NdrException.INVALID_CONFORMANCE);
        this.domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for ( int _i = 0; _i < _domainss; _i++ ) {
        if ( this.domains[ _i ] == null ) {
          this.domains[ _i ] = new LsarTrustInformation();
        }
        this.domains[ _i ].decode(_src);
      }
    }
  }
}
origin: kohsuke/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    max_count = (int)_src.dec_ndr_long();
    if (_domainsp != 0) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if (domains == null) {
        if (_domainss < 0 || _domainss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for (int _i = 0; _i < _domainss; _i++) {
        if (domains[_i] == null) {
          domains[_i] = new LsarTrustInformation();
        }
        domains[_i].decode(_src);
      }
    }
  }
}
origin: org.samba.jcifs/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    max_count = (int)_src.dec_ndr_long();
    if (_domainsp != 0) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if (domains == null) {
        if (_domainss < 0 || _domainss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for (int _i = 0; _i < _domainss; _i++) {
        if (domains[_i] == null) {
          domains[_i] = new LsarTrustInformation();
        }
        domains[_i].decode(_src);
      }
    }
  }
}
origin: jcifs/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    max_count = (int)_src.dec_ndr_long();
    if (_domainsp != 0) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if (domains == null) {
        if (_domainss < 0 || _domainss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for (int _i = 0; _i < _domainss; _i++) {
        if (domains[_i] == null) {
          domains[_i] = new LsarTrustInformation();
        }
        domains[_i].decode(_src);
      }
    }
  }
}
origin: AgNO3/jcifs-ng

  @Override
  public void decode ( NdrBuffer _src ) throws NdrException {
    _src.align(4);
    this.count = _src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    this.max_count = _src.dec_ndr_long();
    if ( _domainsp != 0 ) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if ( this.domains == null ) {
        if ( _domainss < 0 || _domainss > 0xFFFF )
          throw new NdrException(NdrException.INVALID_CONFORMANCE);
        this.domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for ( int _i = 0; _i < _domainss; _i++ ) {
        if ( this.domains[ _i ] == null ) {
          this.domains[ _i ] = new LsarTrustInformation();
        }
        this.domains[ _i ].decode(_src);
      }
    }
  }
}
origin: com.jaeksoft/jcifs-krb5-jdk7

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _domainsp = _src.dec_ndr_long();
    max_count = (int)_src.dec_ndr_long();
    if (_domainsp != 0) {
      _src = _src.deferred;
      int _domainss = _src.dec_ndr_long();
      int _domainsi = _src.index;
      _src.advance(12 * _domainss);
      if (domains == null) {
        if (_domainss < 0 || _domainss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        domains = new LsarTrustInformation[_domainss];
      }
      _src = _src.derive(_domainsi);
      for (int _i = 0; _i < _domainss; _i++) {
        if (domains[_i] == null) {
          domains[_i] = new LsarTrustInformation();
        }
        domains[_i].decode(_src);
      }
    }
  }
}
jcifs.dcerpc.msrpclsarpc$LsarTrustInformationdecode

Popular methods of lsarpc$LsarTrustInformation

  • <init>
  • encode

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JComboBox (javax.swing)
  • JTable (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now