Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,763 for Int (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

      int copyArrayList(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
          List<Object> builder = Lists.newArrayList();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += ImmutableList.copyOf(builder).size();
        }
        return dummy;
      }
    
      @Benchmark
      int copyPreSizedArrayList(int reps) {
        int size = this.size;
        int tmp = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

      int copyArrayList(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
          List<Object> builder = Lists.newArrayList();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += ImmutableList.copyOf(builder).size();
        }
        return dummy;
      }
    
      @Benchmark
      int copyPreSizedArrayList(int reps) {
        int size = this.size;
        int tmp = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            return 0;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      @Benchmark
      int factorial(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          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();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER  = 0x01;
    
        static final int CMD_OFFSET        = 4;
        static final int ERROR_CODE_OFFSET = 5;
        static final int FLAGS_OFFSET      = 9;
        static final int SIGNATURE_OFFSET  = 14;
        static final int TID_OFFSET        = 24;
        static final int HEADER_LENGTH     = 32;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            }
        }
    
        private int converter, totalAvailableEntries;
    
        String lastName;
    
        NetServerEnum2Response() {
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/rpc.java

                _src.align(4);
                int _sub_authoritys = _src.dec_ndr_long();
                this.revision = (byte) _src.dec_ndr_small();
                this.sub_authority_count = (byte) _src.dec_ndr_small();
                int _identifier_authoritys = 6;
                int _identifier_authorityi = _src.index;
                _src.advance(1 * _identifier_authoritys);
                int _sub_authorityi = _src.index;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_STREAM_NAME = 0x200;
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_STREAM_SIZE = 0x400;
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x800;
    
        private final byte[] fileId;
        private int outputBufferLength;
        private int notifyFlags;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

      private static final int TEST_CASES = 0x100;
    
      @Param({"10", "100", "1000", "10000"})
      int size;
    
      @Param Impl impl;
    
      private static final Object[][] tables = new Object[TEST_CASES][];
    
      @BeforeExperiment
      public void setUp() {
        int tableSize = ImmutableSet.chooseTableSize(size);
        int mask = tableSize - 1;
        for (int i = 0; i < TEST_CASES; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 03 20:16:35 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

        public abstract double factorialDouble(int n);
    
        public abstract long binomialCoefficient(int n, int k);
    
        public abstract int gcdInt(int a, int b);
    
        public abstract long gcdLong(long a, long b);
    
        public abstract boolean noAddOverflow(int a, int b);
    
        public abstract boolean noAddOverflow(long a, long b);
    
        public abstract boolean noMulOverflow(int a, int b);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.9K bytes
    - Viewed (0)
Back to top