Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,545 for int (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

                Ints.indexOf(
                    new int[] {(int) 2, (int) 3, (int) 2, (int) 3, (int) 4, (int) 2, (int) 3},
                    new int[] {(int) 2, (int) 3, (int) 4}))
            .isEqualTo(2);
        assertThat(
                Ints.indexOf(
                    new int[] {(int) 2, (int) 2, (int) 3, (int) 4, (int) 2, (int) 3, (int) 4},
                    new int[] {(int) 2, (int) 3, (int) 4}))
            .isEqualTo(1);
        assertThat(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  2. 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);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += LongMath.mod(longs[j], positive[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int gCD(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += LongMath.mod(nonnegative[j], positive[j]);
        }
        return tmp;
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/samr.java

        }
    
        public static final int ACB_DISABLED = 1;
        public static final int ACB_HOMDIRREQ = 2;
        public static final int ACB_PWNOTREQ = 4;
        public static final int ACB_TEMPDUP = 8;
        public static final int ACB_NORMAL = 16;
        public static final int ACB_MNS = 32;
        public static final int ACB_DOMTRUST = 64;
        public static final int ACB_WSTRUST = 128;
        public static final int ACB_SVRTRUST = 256;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

        public static final int SID_NAME_ALIAS = 4;
        public static final int SID_NAME_WKN_GRP = 5;
        public static final int SID_NAME_DELETED = 6;
        public static final int SID_NAME_INVALID = 7;
        public static final int SID_NAME_UNKNOWN = 8;
    
        public static class LsarTranslatedSid extends NdrObject {
    
            public int sid_type;
            public int rid;
            public int sid_index;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 33K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

    
        protected abstract int writeDataWireFormat ( byte[] dst, int dstIndex );
    
    
        protected abstract int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len );
    
    
        protected abstract int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len );
    
    
        protected abstract int readDataWireFormat ( byte[] buffer, int bufferIndex, int len );
    
    
        @Override
        public String toString () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        // flags
    
        static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01;
        static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;
        static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
        static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
        static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private int searchAttributes;
        private int tflags;
        private int informationLevel;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      }
    
      @Override
      public int hashCode() {
        return getClass().hashCode() ^ seed;
      }
    
      @Override
      public HashCode hashInt(int input) {
        int k1 = mixK1(input);
        int h1 = mixH1(seed, k1);
    
        return fmix(h1, Ints.BYTES);
      }
    
      @Override
      public HashCode hashLong(long input) {
        int low = (int) input;
        int high = (int) (input >>> 32);
    
        int k1 = mixK1(low);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtStatus.java

        public static final int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        public static final int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        public static final int NT_STATUS_INVALID_PARAMETER = 0xC000000d;
        public static final int NT_STATUS_NO_SUCH_DEVICE = 0xC000000e;
        public static final int NT_STATUS_NO_SUCH_FILE = 0xC000000f;
        public static final int NT_STATUS_END_OF_FILE = 0xC0000011;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

      static void checkAvalanche(HashFunction function, int trials, double epsilon) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
        for (int i = 0; i < keyBits; i++) {
          int[] same = new int[hashBits];
          int[] diff = new int[hashBits];
          // go through trials to compute probability
          for (int j = 0; j < trials; j++) {
            int key1 = rand.nextInt();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
Back to top