Tabnine Logo
lsarpc$LsarTrustInformation.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
jcifs.dcerpc.msrpc.lsarpc$LsarTrustInformation
constructor

Best Java code snippets using jcifs.dcerpc.msrpc.lsarpc$LsarTrustInformation.<init> (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$LsarTrustInformation<init>

Popular methods of lsarpc$LsarTrustInformation

  • decode
  • encode

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • Path (java.nio.file)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 12 Jupyter Notebook extensions
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