Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,336 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. api/go1.20.txt

    pkg syscall (linux-386-cgo), const CLONE_PIDFD = 4096 #51246
    pkg syscall (linux-386-cgo), const CLONE_PIDFD ideal-int #51246
    pkg syscall (linux-386-cgo), type SysProcAttr struct, CgroupFD int #51246
    pkg syscall (linux-386-cgo), type SysProcAttr struct, UseCgroupFD bool #51246
    pkg syscall (linux-386), const CLONE_CLEAR_SIGHAND = 4294967296 #51246
    pkg syscall (linux-386), const CLONE_CLEAR_SIGHAND ideal-int #51246
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava/src/com/google/common/collect/CompactHashSet.java

          return delegate.add(object);
        }
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
    
        int newEntryIndex = this.size; // current size, and pointer to the entry to be appended
        int newSize = newEntryIndex + 1;
        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. tests/main.py

        return item_id
    
    
    @app.get("/path/param-lt-int/{item_id}")
    def get_path_param_lt_int(item_id: int = Path(lt=3)):
        return item_id
    
    
    @app.get("/path/param-gt-int/{item_id}")
    def get_path_param_gt_int(item_id: int = Path(gt=3)):
        return item_id
    
    
    @app.get("/path/param-le-int/{item_id}")
    def get_path_param_le_int(item_id: int = Path(le=3)):
        return item_id
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt

        streamId: Int,
        streamDependency: Int,
        weight: Int,
        exclusive: Boolean,
      ) {
        fail("")
      }
    
      override fun pushPromise(
        streamId: Int,
        associatedStreamId: Int,
        headerBlock: List<Header>,
      ) {
        fail("")
      }
    
      override fun alternateService(
        streamId: Int,
        origin: String,
        protocol: ByteString,
        host: String,
        port: Int,
        maxAge: Long,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Booleans.java

        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
        BooleanComparator(int trueValue, String toString) {
          this.trueValue = trueValue;
          this.toString = toString;
        }
    
        @Override
        public int compare(Boolean a, Boolean b) {
          int aVal = a ? trueValue : 0;
          int bVal = b ? trueValue : 0;
          return bVal - aVal;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

          return delegate.put(key, value);
        }
        int[] entries = requireEntries();
        @Nullable Object[] keys = requireKeys();
        @Nullable Object[] values = requireValues();
    
        int newEntryIndex = this.size; // current size, and pointer to the entry to be appended
        int newSize = newEntryIndex + 1;
        int hash = smearedHash(key);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
Back to top