Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 109 for 0xffff (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

    1. }
    2. public String getName() {
    3. return netName;
    4. }
    5. public int getType() {
    6. /* 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
    7. */
    8. switch (type & 0xFFFF) {
    9. case 1:
    10. return SmbFile.TYPE_PRINTER;
    11. case 3:
    12. return SmbFile.TYPE_NAMED_PIPE;
    13. }
    14. return SmbFile.TYPE_SHARE;
    15. }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

    1. checkArgument(
    2. (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port);
    3. checkArgument(
    4. (flags >= 0) && (flags <= 0xffff),
    5. "flags '%s' is out of range (0 <= flags <= 0xffff)",
    6. flags);
    7.  
    8. this.server = MoreObjects.firstNonNull(server, ANY4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

    1. }
    2.  
    3. SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException {
    4. this.file = file;
    5. this.openFlags = openFlags & 0xFFFF;
    6. this.access = (openFlags >>> 16) & 0xFFFF;
    7. if (file.type != SmbFile.TYPE_NAMED_PIPE) {
    8. file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 );
    9. this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

    1. return 0;
    2. }
    3.  
    4.  
    5. @Override
    6. public int getType () {
    7. /*
    8. * 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
    9. */
    10. switch ( this.type & 0xFFFF ) {
    11. case 1:
    12. return SmbConstants.TYPE_PRINTER;
    13. case 3:
    14. return SmbConstants.TYPE_NAMED_PIPE;
    15. }
    16. return SmbConstants.TYPE_SHARE;
    17. }
    18.  
    19.  
    20. @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Feb 17 09:30:57 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

    1. this.name = pipeName;
    2. this.pipeData = data;
    3. this.pipeDataOff = off;
    4. this.pipeDataLen = len;
    5. this.timeout = 0xFFFFFFFF;
    6. this.maxParameterCount = 0;
    7. this.maxDataCount = 0xFFFF;
    8. this.maxSetupCount = (byte) 0x00;
    9. this.setupCount = 2;
    10. }
    11.  
    12.  
    13. @Override
    14. protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
    15. dst[ dstIndex++ ] = this.getSubCommand();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

    1. this.pipeFid = fid;
    2. this.pipeData = data;
    3. this.pipeDataOff = off;
    4. this.pipeDataLen = len;
    5. this.maxParameterCount = 0;
    6. this.maxDataCount = 0xFFFF;
    7. this.maxSetupCount = (byte) 0x00;
    8. this.setupCount = 2;
    9. this.name = "\\PIPE\\";
    10. }
    11.  
    12.  
    13. @Override
    14. protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

    1. bufferIndex += 16;
    2. e.versionMajor = buffer[ bufferIndex++ ] & 0xFF;
    3. e.versionMinor = buffer[ bufferIndex++ ] & 0xFF;
    4. e.type = SMBUtil.readInt4(buffer, bufferIndex);
    5. bufferIndex += 4;
    6. int off = SMBUtil.readInt4(buffer, bufferIndex);
    7. bufferIndex += 4;
    8. off = ( off & 0xFFFF ) - this.converter;
    9. off = start + off;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

    1. int _name_bufferi = _src.index;
    2. _src.advance(2 * _name_bufferl);
    3.  
    4. if (name.buffer == null) {
    5. if (_name_buffers < 0 || _name_buffers > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
    6. name.buffer = new short[_name_buffers];
    7. }
    8. _src = _src.derive(_name_bufferi);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 14K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    1. tmp += BigIntegerMath.factorial(factorials[j]).intValue();
    2. }
    3. return tmp;
    4. }
    5.  
    6. @Benchmark
    7. int binomial(int reps) {
    8. int tmp = 0;
    9. for (int i = 0; i < reps; i++) {
    10. int j = i & 0xffff;
    11. tmp += BigIntegerMath.binomial(factorials[j], binomials[j]).intValue();
    12. }
    13. return tmp;
    14. }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

    1. try {
    2. System.arraycopy(this.sbuf, 0, buffer, 0, 4 + SMB1_HEADER_LENGTH);
    3. int size = ( Encdec.dec_uint16be(buffer, 2) & 0xFFFF );
    4. if ( size < ( SMB1_HEADER_LENGTH + 1 ) || ( 4 + size ) > Math.min(0xFFFF, getContext().getConfig().getMaximumBufferSize()) ) {
    5. throw new IOException("Invalid payload size: " + size);
    6. }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top