Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,605 for int (0.18 sec)

  1. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
          tmp += z + IntMath.lessThanBranchFree(x, y);
        }
        return tmp;
      }
    
      @Benchmark
      int ternaryLtIntAddOutsideTernary(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & SAMPLE_MASK;
          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  2. 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;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      }
    
      @Benchmark
      int slowFactorial(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += oldSlowFactorial(slowFactorials[j]).intValue();
        }
        return tmp;
      }
    
      @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();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  4. 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++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 03 20:16:35 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

        }
        return tmp;
      }
    
      @Benchmark
      int log10(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.log10(positive[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int sqrt(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.sqrt(positive[j], mode).intValue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 30 13:06:20 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

            return dstIndex - start;
        }
        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 ) {
            return 0;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            return dstIndex - start;
        }
        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 ) {
            return 0;
        }
        public String toString() {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

          for (int l : TEST_INTS) {
            UnsignedInteger value = UnsignedInteger.fromIntBits(l);
            assertThat(value.toString(radix)).isEqualTo(value.bigIntegerValue().toString(radix));
          }
        }
      }
    
      public void testToStringRadixQuick() {
        int[] radices = {2, 3, 5, 7, 10, 12, 16, 21, 31, 36};
        for (int radix : radices) {
          for (int l : TEST_INTS) {
            UnsignedInteger value = UnsignedInteger.fromIntBits(l);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

    import jcifs.smb1.Config;
    
    class SmbComWrite extends ServerMessageBlock {
    
        private int fid,
            count,
            offset,
            remaining,
            off;
        private byte[] b;
    
        SmbComWrite() {
            super();
            command = SMB_COM_WRITE;
        }
        SmbComWrite( int fid, int offset, int remaining, byte[] b, int off, int len ) {
            this.fid = fid;
            this.count = len;
            this.offset = offset;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int SHARING_DENY_READ_EXECUTE       = 0x30;
        private static final int SHARING_DENY_NONE               = 0x40;
    
        private static final int DO_NOT_CACHE  = 0x1000; // bit 12
        private static final int WRITE_THROUGH = 0x4000; // bit 14
    
        private static final int OPEN_FN_CREATE = 0x10;
        private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00;
        private static final int OPEN_FN_OPEN = 0x01;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.7K bytes
    - Viewed (0)
Back to top