Tabnine Logo
samr$SamrRidWithAttribute
Code IndexAdd Tabnine to your IDE (free)

How to use
samr$SamrRidWithAttribute
in
jcifs.dcerpc.msrpc

Best Java code snippets using jcifs.dcerpc.msrpc.samr$SamrRidWithAttribute (Showing top 12 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 _ridsp = _src.dec_ndr_long();
    if ( _ridsp != 0 ) {
      _src = _src.deferred;
      int _ridss = _src.dec_ndr_long();
      int _ridsi = _src.index;
      _src.advance(8 * _ridss);
      if ( this.rids == null ) {
        if ( _ridss < 0 || _ridss > 0xFFFF )
          throw new NdrException(NdrException.INVALID_CONFORMANCE);
        this.rids = new SamrRidWithAttribute[_ridss];
      }
      _src = _src.derive(_ridsi);
      for ( int _i = 0; _i < _ridss; _i++ ) {
        if ( this.rids[ _i ] == null ) {
          this.rids[ _i ] = new SamrRidWithAttribute();
        }
        this.rids[ _i ].decode(_src);
      }
    }
  }
}
origin: org.samba.jcifs/jcifs

public void encode(NdrBuffer _dst) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(count);
  _dst.enc_ndr_referent(rids, 1);
  if (rids != null) {
    _dst = _dst.deferred;
    int _ridss = count;
    _dst.enc_ndr_long(_ridss);
    int _ridsi = _dst.index;
    _dst.advance(8 * _ridss);
    _dst = _dst.derive(_ridsi);
    for (int _i = 0; _i < _ridss; _i++) {
      rids[_i].encode(_dst);
    }
  }
}
public void decode(NdrBuffer _src) throws NdrException {
origin: kohsuke/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _ridsp = _src.dec_ndr_long();
    if (_ridsp != 0) {
      _src = _src.deferred;
      int _ridss = _src.dec_ndr_long();
      int _ridsi = _src.index;
      _src.advance(8 * _ridss);
      if (rids == null) {
        if (_ridss < 0 || _ridss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        rids = new SamrRidWithAttribute[_ridss];
      }
      _src = _src.derive(_ridsi);
      for (int _i = 0; _i < _ridss; _i++) {
        if (rids[_i] == null) {
          rids[_i] = new SamrRidWithAttribute();
        }
        rids[_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 _ridsp = _src.dec_ndr_long();
    if ( _ridsp != 0 ) {
      _src = _src.deferred;
      int _ridss = _src.dec_ndr_long();
      int _ridsi = _src.index;
      _src.advance(8 * _ridss);
      if ( this.rids == null ) {
        if ( _ridss < 0 || _ridss > 0xFFFF )
          throw new NdrException(NdrException.INVALID_CONFORMANCE);
        this.rids = new SamrRidWithAttribute[_ridss];
      }
      _src = _src.derive(_ridsi);
      for ( int _i = 0; _i < _ridss; _i++ ) {
        if ( this.rids[ _i ] == null ) {
          this.rids[ _i ] = new SamrRidWithAttribute();
        }
        this.rids[ _i ].decode(_src);
      }
    }
  }
}
origin: jcifs/jcifs

  public void decode(NdrBuffer _src) throws NdrException {
    _src.align(4);
    count = (int)_src.dec_ndr_long();
    int _ridsp = _src.dec_ndr_long();
    if (_ridsp != 0) {
      _src = _src.deferred;
      int _ridss = _src.dec_ndr_long();
      int _ridsi = _src.index;
      _src.advance(8 * _ridss);
      if (rids == null) {
        if (_ridss < 0 || _ridss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        rids = new SamrRidWithAttribute[_ridss];
      }
      _src = _src.derive(_ridsi);
      for (int _i = 0; _i < _ridss; _i++) {
        if (rids[_i] == null) {
          rids[_i] = new SamrRidWithAttribute();
        }
        rids[_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 _ridsp = _src.dec_ndr_long();
    if (_ridsp != 0) {
      _src = _src.deferred;
      int _ridss = _src.dec_ndr_long();
      int _ridsi = _src.index;
      _src.advance(8 * _ridss);
      if (rids == null) {
        if (_ridss < 0 || _ridss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        rids = new SamrRidWithAttribute[_ridss];
      }
      _src = _src.derive(_ridsi);
      for (int _i = 0; _i < _ridss; _i++) {
        if (rids[_i] == null) {
          rids[_i] = new SamrRidWithAttribute();
        }
        rids[_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 _ridsp = _src.dec_ndr_long();
    if (_ridsp != 0) {
      _src = _src.deferred;
      int _ridss = _src.dec_ndr_long();
      int _ridsi = _src.index;
      _src.advance(8 * _ridss);
      if (rids == null) {
        if (_ridss < 0 || _ridss > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
        rids = new SamrRidWithAttribute[_ridss];
      }
      _src = _src.derive(_ridsi);
      for (int _i = 0; _i < _ridss; _i++) {
        if (rids[_i] == null) {
          rids[_i] = new SamrRidWithAttribute();
        }
        rids[_i].decode(_src);
      }
    }
  }
}
origin: AgNO3/jcifs-ng

@Override
public void encode ( NdrBuffer _dst ) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(this.count);
  _dst.enc_ndr_referent(this.rids, 1);
  if ( this.rids != null ) {
    _dst = _dst.deferred;
    int _ridss = this.count;
    _dst.enc_ndr_long(_ridss);
    int _ridsi = _dst.index;
    _dst.advance(8 * _ridss);
    _dst = _dst.derive(_ridsi);
    for ( int _i = 0; _i < _ridss; _i++ ) {
      this.rids[ _i ].encode(_dst);
    }
  }
}
origin: jcifs/jcifs

public void encode(NdrBuffer _dst) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(count);
  _dst.enc_ndr_referent(rids, 1);
  if (rids != null) {
    _dst = _dst.deferred;
    int _ridss = count;
    _dst.enc_ndr_long(_ridss);
    int _ridsi = _dst.index;
    _dst.advance(8 * _ridss);
    _dst = _dst.derive(_ridsi);
    for (int _i = 0; _i < _ridss; _i++) {
      rids[_i].encode(_dst);
    }
  }
}
public void decode(NdrBuffer _src) throws NdrException {
origin: com.jaeksoft/jcifs-krb5-jdk7

public void encode(NdrBuffer _dst) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(count);
  _dst.enc_ndr_referent(rids, 1);
  if (rids != null) {
    _dst = _dst.deferred;
    int _ridss = count;
    _dst.enc_ndr_long(_ridss);
    int _ridsi = _dst.index;
    _dst.advance(8 * _ridss);
    _dst = _dst.derive(_ridsi);
    for (int _i = 0; _i < _ridss; _i++) {
      rids[_i].encode(_dst);
    }
  }
}
public void decode(NdrBuffer _src) throws NdrException {
origin: org.codelibs/jcifs

@Override
public void encode ( NdrBuffer _dst ) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(this.count);
  _dst.enc_ndr_referent(this.rids, 1);
  if ( this.rids != null ) {
    _dst = _dst.deferred;
    int _ridss = this.count;
    _dst.enc_ndr_long(_ridss);
    int _ridsi = _dst.index;
    _dst.advance(8 * _ridss);
    _dst = _dst.derive(_ridsi);
    for ( int _i = 0; _i < _ridss; _i++ ) {
      this.rids[ _i ].encode(_dst);
    }
  }
}
origin: kohsuke/jcifs

public void encode(NdrBuffer _dst) throws NdrException {
  _dst.align(4);
  _dst.enc_ndr_long(count);
  _dst.enc_ndr_referent(rids, 1);
  if (rids != null) {
    _dst = _dst.deferred;
    int _ridss = count;
    _dst.enc_ndr_long(_ridss);
    int _ridsi = _dst.index;
    _dst.advance(8 * _ridss);
    _dst = _dst.derive(_ridsi);
    for (int _i = 0; _i < _ridss; _i++) {
      rids[_i].encode(_dst);
    }
  }
}
public void decode(NdrBuffer _src) throws NdrException {
jcifs.dcerpc.msrpcsamr$SamrRidWithAttribute

Most used methods

  • <init>
  • decode
  • encode

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • findViewById (Activity)
  • setContentView (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • 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