- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 440 for sure (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
Queue<Integer> queue = new UnIterableQueue<>(new LinkedList<>(asList(5, 14))); Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator(); /* * Make sure that we can get an element off without calling * UnIterableQueue.iterator(). */ assertEquals(5, consumingIterator.next().intValue()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
cmd/endpoint.go
// path on windows might become C:/C:/ this will cause problems // of starting minio server properly in distributed mode on windows. // As a special case make sure to trim the separator. // NOTE: It is also perfectly fine for windows users to have a path // without C:/ since at that point we treat it as relative path // and obtain the full filesystem path as well. Providing C:/
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 34.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
} public void testAsList_toArray_roundTrip() { float[] array = {0.0f, 1.0f, 2.0f}; List<Float> list = Floats.asList(array); float[] newArray = Floats.toArray(list); // Make sure it returned a copy list.set(0, 4.0f); assertThat(newArray).isEqualTo(new float[] {0.0f, 1.0f, 2.0f}); newArray[1] = 5.0f; assertThat((float) list.get(1)).isEqualTo(1.0f); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} public void testAsList_toArray_roundTrip() { int[] array = {(int) 0, (int) 1, (int) 2}; List<Integer> list = Ints.asList(array); int[] newArray = Ints.toArray(list); // Make sure it returned a copy list.set(0, (int) 4); assertThat(newArray).isEqualTo(new int[] {(int) 0, (int) 1, (int) 2}); newArray[1] = (int) 5; assertThat((int) list.get(1)).isEqualTo((int) 1); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
} public void testAsList_toArray_roundTrip() { float[] array = {0.0f, 1.0f, 2.0f}; List<Float> list = Floats.asList(array); float[] newArray = Floats.toArray(list); // Make sure it returned a copy list.set(0, 4.0f); assertThat(newArray).isEqualTo(new float[] {0.0f, 1.0f, 2.0f}); newArray[1] = 5.0f; assertThat((float) list.get(1)).isEqualTo(1.0f); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertEquals(localCacheOne.removalListener, localCacheTwo.removalListener); assertEquals(localCacheOne.ticker, localCacheTwo.ticker); // serialize the reconstituted version to be sure we haven't lost the ability to reserialize LocalLoadingCache<Object, Object> three = SerializableTester.reserialize(two); LocalCache<Object, Object> localCacheThree = three.localCache;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
src/cmd/cgo/doc.go
// freed, such as by calling C.free (be sure to include stdlib.h // if C.free is needed). func C.CString(string) *C.char // Go []byte slice to C array // The C array is allocated in the C heap using malloc. // It is the caller's responsibility to arrange for it to be // freed, such as by calling C.free (be sure to include stdlib.h // if C.free is needed).
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
Queue<Integer> queue = new UnIterableQueue<>(new LinkedList<>(asList(5, 14))); Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator(); /* * Make sure that we can get an element off without calling * UnIterableQueue.iterator(). */ assertEquals(5, consumingIterator.next().intValue()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
.status("HTTP/1.1 200 Fantastic") transferKind.setBody(mockResponse, "I love puppies but hate spiders", 1) server.enqueue(mockResponse.build()) // Make sure that calling skip() doesn't omit bytes from the cache. val request = Request.Builder().url(server.url("/")).build() val response1 = client.newCall(request).execute() val in1 = response1.body.source()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
ipString = hostAddr.substring(1, hostAddr.length() - 1); expectBytes = 16; } else { ipString = hostAddr; expectBytes = 4; } // Parse the address, and make sure the length/version is correct. Scope scope = parseScope ? new Scope() : null; byte[] addr = ipStringToBytes(ipString, scope); if (addr == null || addr.length != expectBytes) { return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0)