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

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

Best Java code snippets using jcifs.dcerpc.msrpc.lsarpc$LsarSidPtr.<init> (Showing top 14 results out of 315)

origin: kohsuke/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    num_sids = (int)_src.dec_ndr_long();
    int _sidsp = _src.dec_ndr_long();
    if (_sidsp != 0) {
      _src = _src.deferred;
      int _sidss = _src.dec_ndr_long();
      int _sidsi = _src.index;
      _src.advance(4 * _sidss);
      if (sids == null) {
        if (_sidss < 0 || _sidss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        sids = new LsarSidPtr[_sidss];
      }
      _src = _src.derive(_sidsi);
      for (int _i = 0; _i < _sidss; _i++) {
        if (sids[_i] == null) {
          sids[_i] = new LsarSidPtr();
        }
        sids[_i].decode(_src);
      }
    }
  }
}
origin: AgNO3/jcifs-ng

  @Override
  public void decode ( NdrBuffer _src ) throws NdrException {
    _src.align(4);
    this.num_sids = _src.dec_ndr_long();
    int _sidsp = _src.dec_ndr_long();
    if ( _sidsp != 0 ) {
      _src = _src.deferred;
      int _sidss = _src.dec_ndr_long();
      int _sidsi = _src.index;
      _src.advance(4 * _sidss);
      if ( this.sids == null ) {
        if ( _sidss < 0 || _sidss > 0xFFFF )
          throw new NdrException(NdrException.INVALID_CONFORMANCE);
        this.sids = new LsarSidPtr[_sidss];
      }
      _src = _src.derive(_sidsi);
      for ( int _i = 0; _i < _sidss; _i++ ) {
        if ( this.sids[ _i ] == null ) {
          this.sids[ _i ] = new LsarSidPtr();
        }
        this.sids[ _i ].decode(_src);
      }
    }
  }
}
origin: jcifs/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    num_sids = (int)_src.dec_ndr_long();
    int _sidsp = _src.dec_ndr_long();
    if (_sidsp != 0) {
      _src = _src.deferred;
      int _sidss = _src.dec_ndr_long();
      int _sidsi = _src.index;
      _src.advance(4 * _sidss);
      if (sids == null) {
        if (_sidss < 0 || _sidss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        sids = new LsarSidPtr[_sidss];
      }
      _src = _src.derive(_sidsi);
      for (int _i = 0; _i < _sidss; _i++) {
        if (sids[_i] == null) {
          sids[_i] = new LsarSidPtr();
        }
        sids[_i].decode(_src);
      }
    }
  }
}
origin: org.codelibs/jcifs

  @Override
  public void decode ( NdrBuffer _src ) throws NdrException {
    _src.align(4);
    this.num_sids = _src.dec_ndr_long();
    int _sidsp = _src.dec_ndr_long();
    if ( _sidsp != 0 ) {
      _src = _src.deferred;
      int _sidss = _src.dec_ndr_long();
      int _sidsi = _src.index;
      _src.advance(4 * _sidss);
      if ( this.sids == null ) {
        if ( _sidss < 0 || _sidss > 0xFFFF )
          throw new NdrException(NdrException.INVALID_CONFORMANCE);
        this.sids = new LsarSidPtr[_sidss];
      }
      _src = _src.derive(_sidsi);
      for ( int _i = 0; _i < _sidss; _i++ ) {
        if ( this.sids[ _i ] == null ) {
          this.sids[ _i ] = new LsarSidPtr();
        }
        this.sids[ _i ].decode(_src);
      }
    }
  }
}
origin: com.jaeksoft/jcifs-krb5-jdk7

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    num_sids = (int)_src.dec_ndr_long();
    int _sidsp = _src.dec_ndr_long();
    if (_sidsp != 0) {
      _src = _src.deferred;
      int _sidss = _src.dec_ndr_long();
      int _sidsi = _src.index;
      _src.advance(4 * _sidss);
      if (sids == null) {
        if (_sidss < 0 || _sidss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        sids = new LsarSidPtr[_sidss];
      }
      _src = _src.derive(_sidsi);
      for (int _i = 0; _i < _sidss; _i++) {
        if (sids[_i] == null) {
          sids[_i] = new LsarSidPtr();
        }
        sids[_i].decode(_src);
      }
    }
  }
}
origin: org.samba.jcifs/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    num_sids = (int)_src.dec_ndr_long();
    int _sidsp = _src.dec_ndr_long();
    if (_sidsp != 0) {
      _src = _src.deferred;
      int _sidss = _src.dec_ndr_long();
      int _sidsi = _src.index;
      _src.advance(4 * _sidss);
      if (sids == null) {
        if (_sidss < 0 || _sidss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        sids = new LsarSidPtr[_sidss];
      }
      _src = _src.derive(_sidsi);
      for (int _i = 0; _i < _sidss; _i++) {
        if (sids[_i] == null) {
          sids[_i] = new LsarSidPtr();
        }
        sids[_i].decode(_src);
      }
    }
  }
}
origin: kohsuke/jcifs

  LsarSidArrayX(SID[] sids) {
    this.num_sids = sids.length;
    this.sids = new lsarpc.LsarSidPtr[sids.length];
    for (int si = 0; si < sids.length; si++) {
      this.sids[si] = new lsarpc.LsarSidPtr();
      this.sids[si].sid = sids[si];
    }
  }
}
origin: com.jaeksoft/jcifs-krb5-jdk7

  LsarSidArrayX(SID[] sids) {
    this.num_sids = sids.length;
    this.sids = new lsarpc.LsarSidPtr[sids.length];
    for (int si = 0; si < sids.length; si++) {
      this.sids[si] = new lsarpc.LsarSidPtr();
      this.sids[si].sid = sids[si];
    }
  }
}
origin: org.codelibs/jcifs

  LsarSidArrayX ( SID[] sids ) {
    this.num_sids = sids.length;
    this.sids = new lsarpc.LsarSidPtr[sids.length];
    for ( int si = 0; si < sids.length; si++ ) {
      this.sids[ si ] = new lsarpc.LsarSidPtr();
      this.sids[ si ].sid = sids[ si ];
    }
  }
}
origin: org.samba.jcifs/jcifs

  LsarSidArrayX(SID[] sids) {
    this.num_sids = sids.length;
    this.sids = new lsarpc.LsarSidPtr[sids.length];
    for (int si = 0; si < sids.length; si++) {
      this.sids[si] = new lsarpc.LsarSidPtr();
      this.sids[si].sid = sids[si];
    }
  }
}
origin: AgNO3/jcifs-ng

  LsarSidArrayX ( SID[] sids ) {
    this.num_sids = sids.length;
    this.sids = new lsarpc.LsarSidPtr[sids.length];
    for ( int si = 0; si < sids.length; si++ ) {
      this.sids[ si ] = new lsarpc.LsarSidPtr();
      this.sids[ si ].sid = sids[ si ];
    }
  }
}
origin: org.codelibs/jcifs

LsarSidArrayX ( jcifs.SID[] sids ) {
  this.num_sids = sids.length;
  this.sids = new lsarpc.LsarSidPtr[sids.length];
  for ( int si = 0; si < sids.length; si++ ) {
    this.sids[ si ] = new lsarpc.LsarSidPtr();
    this.sids[ si ].sid = sids[ si ].unwrap(sid_t.class);
  }
}
origin: jcifs/jcifs

  LsarSidArrayX(SID[] sids) {
    this.num_sids = sids.length;
    this.sids = new lsarpc.LsarSidPtr[sids.length];
    for (int si = 0; si < sids.length; si++) {
      this.sids[si] = new lsarpc.LsarSidPtr();
      this.sids[si].sid = sids[si];
    }
  }
}
origin: AgNO3/jcifs-ng

LsarSidArrayX ( jcifs.SID[] sids ) {
  this.num_sids = sids.length;
  this.sids = new lsarpc.LsarSidPtr[sids.length];
  for ( int si = 0; si < sids.length; si++ ) {
    this.sids[ si ] = new lsarpc.LsarSidPtr();
    this.sids[ si ].sid = sids[ si ].unwrap(sid_t.class);
  }
}
jcifs.dcerpc.msrpclsarpc$LsarSidPtr<init>

Popular methods of lsarpc$LsarSidPtr

  • decode
  • encode

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Collectors (java.util.stream)
  • CodeWhisperer alternatives
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