Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 92 for 0x10ffff (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

     * Benchmarks for certain methods of {@code UnsignedLongs}.
     *
     * @author Eamonn McManus
     */
    public class UnsignedLongsBenchmark {
      private static final int ARRAY_SIZE = 0x10000;
      private static final int ARRAY_MASK = 0x0ffff;
      private static final Random RANDOM_SOURCE = new Random(314159265358979L);
      private static final long[] longs = new long[ARRAY_SIZE];
      private static final long[] divisors = new long[ARRAY_SIZE];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

            return 0;
        }
    
    
        @Override
        public int getType () {
            /*
             * 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
            switch ( this.type & 0xFFFF ) {
            case 1:
                return SmbConstants.TYPE_PRINTER;
            case 3:
                return SmbConstants.TYPE_NAMED_PIPE;
            }
            return SmbConstants.TYPE_SHARE;
        }
    
    
        @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)
  3. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class LessThanBenchmark {
      static final int SAMPLE_SIZE = 0x1000;
      static final int SAMPLE_MASK = 0x0FFF;
    
      @Param("1234")
      int randomSeed;
    
      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

            this.name = pipeName;
            this.pipeData = data;
            this.pipeDataOff = off;
            this.pipeDataLen = len;
            this.timeout = 0xFFFFFFFF;
            this.maxParameterCount = 0;
            this.maxDataCount = 0xFFFF;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 2;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            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)
  5. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

            this.pipeFid = fid;
            this.pipeData = data;
            this.pipeDataOff = off;
            this.pipeDataLen = len;
            this.maxParameterCount = 0;
            this.maxDataCount = 0xFFFF;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 2;
            this.name = "\\PIPE\\";
        }
    
    
        @Override
        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)
  6. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

                e.type = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = ( off & 0xFFFF ) - this.converter;
                off = start + off;
                e.commentOrMasterBrowser = readString(buffer, off, 48, false);
    
                if ( log.isTraceEnabled() ) {
                    log.trace(e.toString());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                    int _name_bufferi = _src.index;
                    _src.advance(2 * _name_bufferl);
    
                    if (name.buffer == null) {
                        if (_name_buffers < 0 || _name_buffers > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                        name.buffer = new short[_name_buffers];
                    }
                    _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)
  8. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

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

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

                    int _name_bufferi = _src.index;
                    _src.advance(2 * _name_bufferl);
    
                    if ( this.name.buffer == null ) {
                        if ( _name_buffers < 0 || _name_buffers > 0xFFFF )
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        this.name.buffer = new short[_name_buffers];
                    }
                    _src = _src.derive(_name_bufferi);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 15.1K bytes
    - Viewed (0)
Back to top