- Sort Score
- Result 10 results
- Languages All
Results 1281 - 1290 of 3,853 for Uint (0.04 sec)
-
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (int toRemove = 0; toRemove < 10; toRemove++) { assertEquals( contents.contains(toRemove) && EVEN.apply(toRemove), filter(createUnfiltered(contents), EVEN).remove(toRemove)); } } } public void testContains() { for (List<Integer> contents : SAMPLE_INPUTS) { for (int i = 0; i < 10; i++) { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
guava/src/com/google/common/hash/Striped64.java
* @param hc the hash code holder * @param wasUncontended false if CAS failed before call */ final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) { int h; if (hc == null) { threadHashCode.set(hc = new int[1]); // Initialize randomly int r = rng.nextInt(); // Avoid zero to allow xorShift rehash h = hc[0] = (r == 0) ? 1 : r; } else h = hc[0];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Crc32cHashFunction.java
static final int INVERSE_COMPUTE_FOR_WORD_OF_ALL_1S = 0xeee3ddcd; static int computeForWord(int word) { return STRIDE_TABLE[3][word & 0xFF] ^ STRIDE_TABLE[2][(word >>> 8) & 0xFF] ^ STRIDE_TABLE[1][(word >>> 16) & 0xFF] ^ STRIDE_TABLE[0][word >>> 24]; } static int combine(int csum, int crc) { csum ^= crc;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 21.3K bytes - Viewed (0) -
internal/grid/handlers.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
joinHelper(1, 1, 1, 1, 1, 1, 1, 1); joinHelper(1, 0, 1, 0, 1, 0, 1, 0); } public void testOnlyOneOpen() throws Exception { final ByteSource source = newByteSource(0, 50); final int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
@Test public void testPerformance() throws Exception { for (int j = 0; j < 3; ++j) { final int num = 100000; final Map<String, String> hmap = new HashMap<String, String>(); final Map<String, String> cimap = new CaseInsensitiveMap<String>(); long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.put("a" + String.valueOf(i), null);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4K bytes - Viewed (0) -
internal/s3select/jstream/scanner_test.go
} t.Logf("pos=%d remaining=%d (%s)", i, r.Len(), string(c)) i++ } } type mockReader struct { pos int mockData byte failAfter int } func newMockReader(failAfter int, data byte) *mockReader { return &mockReader{0, data, failAfter} } func (r *mockReader) Read(p []byte) (n int, err error) { if r.pos >= r.failAfter { return 0, fmt.Errorf("intentionally unexpected reader error") } r.pos++
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
public void testOpen() { Range<Integer> range = Range.open(4, 8); checkContains(range); assertTrue(range.hasLowerBound()); assertEquals(4, (int) range.lowerEndpoint()); assertEquals(OPEN, range.lowerBoundType()); assertTrue(range.hasUpperBound()); assertEquals(8, (int) range.upperEndpoint()); assertEquals(OPEN, range.upperBoundType()); assertFalse(range.isEmpty()); assertEquals("(4..8)", range.toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
}; Name hostName; int address, nodeType; boolean groupName, isBeingDeleted, isInConflict, isActive, isPermanent, isDataFromNodeStatus; byte[] macAddress; String calledName; NbtAddress ( Name hostName, int address, boolean groupName, int nodeType ) { this.hostName = hostName; this.address = address;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 15.2K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
*/ InputStream getInputStream() throws IOException; /** * Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just an * empty string. The intention is to assist users during error reporting. * * @return A user-friendly hint about the location of the source, never {@code null}. */ String getLocation();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0)