- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 4,704 for Hint (0.14 seconds)
-
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
if (omitNulls) { helper = helper.omitNullValues(); } return helper; } @Benchmark int toString(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { MoreObjects.ToStringHelper helper = newHelper(); for (int j = 0; j < dataSize; ++j) { dataset.addEntries(helper); } dummy ^= helper.toString().hashCode(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
} /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray of(int e0, int e1, int e2, int e3, int e4) { return new ImmutableIntArray(new int[] {e0, e1, e2, e3, e4}); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray of(int e0, int e1, int e2, int e3, int e4, int e5) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.9K bytes - Click Count (0) -
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
input = ImmutableList.copyOf(list); } @Benchmark int collections(int reps) { int dummy = 0; // Yes, this could be done more elegantly if (mutable) { for (int i = 0; i < reps; i++) { List<Integer> copy = new ArrayList<>(input); sort(copy); dummy += copy.get(0); } } else { for (int i = 0; i < reps; i++) { List<Integer> copy = new ArrayList<>(input);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} /** get and set for out of bound indices throw IndexOutOfBoundsException */ public void testIndexing() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int index : new int[] {-1, SIZE}) { assertThrows(IndexOutOfBoundsException.class, () -> aa.get(index)); assertThrows(IndexOutOfBoundsException.class, () -> aa.set(index, 1.0));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
* Server flags2 field from the SMB header. */ public int sflags2; /** * Maximum number of outstanding multiplex requests. */ public int smaxMpxCount; /** * Maximum buffer size the server can handle. */ public int maxBufferSize; /** * Session key for this connection. */ public int sessKey; /** * Server capabilities bitmap. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
/** * */ @Test public void testGetSimpleClassName() { assertThat(ClassUtil.getSimpleClassName(int.class), is("int")); assertThat(ClassUtil.getSimpleClassName(String.class), is("java.lang.String")); assertThat(ClassUtil.getSimpleClassName(int[].class), is("int[]")); assertThat(ClassUtil.getSimpleClassName(String[][].class), is("java.lang.String[][]")); } /** *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 6.2K bytes - Click Count (0) -
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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
tests/test_path.py
response = client.get("/path/param-le-int/3") assert response.status_code == 200 assert response.json() == 3 def test_path_param_le_int_2(): response = client.get("/path/param-le-int/2") assert response.status_code == 200 assert response.json() == 2 def test_path_param_le_int_2_7(): response = client.get("/path/param-le-int/2.7") assert response.status_code == 422
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
public static final int CONTEXT_ID = Smb2Constants.SMB2_RDMA_TRANSFORM_CAPABILITIES; // Transform count and reserved fields private int transformCount = 1; // Number of transforms (always 1 for SMBDirect) private int reserved1 = 0; private int reserved2 = 0; // SMB_DIRECT_RDMA_TRANSFORM_V1 private int rdmaTransformId = 0x0001; // SMB_DIRECT_RDMA_TRANSFORM_V1 /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.4K bytes - Click Count (0)