- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 9,824 for FOR (0.03 sec)
-
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
// up exactly as many bits as can be represented in the significand (24 for float, 53 for // double). That final 0 should be rounded up to 1 because the remaining bits make that number // slightly nearer. long floatConversionTest = 0xfffffe8000000002L; long doubleConversionTest = 0xfffffffffffff402L; for (long i = -3; i <= 3; i++) { testLongsBuilder .add(i)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
double prev = Math.E; AtomicDouble at = new AtomicDouble(prev); for (double x : VALUES) { assertBitEquals(prev, at.getAndSet(x)); prev = x; } } /** getAndAdd returns previous value and adds given value */ public void testGetAndAdd() { for (double x : VALUES) { for (double y : VALUES) { AtomicDouble a = new AtomicDouble(x);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen.go
o = msgp.AppendArrayHeader(o, uint32(len(z.QueuedBuckets))) for za0001 := range z.QueuedBuckets { o = msgp.AppendString(o, z.QueuedBuckets[za0001]) } // string "HealedBuckets" o = append(o, 0xad, 0x48, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x73) o = msgp.AppendArrayHeader(o, uint32(len(z.HealedBuckets))) for za0002 := range z.HealedBuckets { o = msgp.AppendString(o, z.HealedBuckets[za0002])
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 15:42:49 UTC 2024 - 24.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
@Benchmark int arrayIndexedLength(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (int index = 0; index < array.length; index++) { sum += array[index].hashCode(); } } return sum; } @Benchmark int arrayFor(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Object value : array) { sum += value.hashCode(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
fi1: fi1, fi2: fiDel, }, } for idx, test := range tests { var metaArr []FileInfo for i := 0; i < 12; i++ { fi := test.fi1 if i%2 == 0 { fi = test.fi2 } metaArr = append(metaArr, fi) } parities := listObjectParities(metaArr, make([]error, len(metaArr))) parity := commonParity(parities, 5) var match int for _, fi := range metaArr {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 15:19:10 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
public void testGoodIpAddresses() throws ParseException { for (String spec : GOOD_IPS) { assertGood(spec); } } public void testBadIpAddresses() { for (String spec : BAD_IPS) { assertBad(spec); } } public void testGoodDomains() throws ParseException { for (String spec : GOOD_DOMAINS) { assertGood(spec); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
assertConstantNameMatchesString(HttpHeaders.class, specialCases, uppercaseAcronyms); } // Visible for other tests to use static void assertConstantNameMatchesString( Class<?> clazz, ImmutableBiMap<String, String> specialCases, ImmutableSet<String> uppercaseAcronyms) throws IllegalAccessException { for (Field field : relevantFields(clazz)) { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 22 21:08:08 UTC 2024 - 3.9K bytes - Viewed (0) -
buildscripts/checkdeps.sh
exit 1 fi } main() { ## Check for supported arch assert_is_supported_arch ## Check for supported os assert_is_supported_os ## Check for Go environment assert_check_golang_env ## Check for dependencies assert_check_deps }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
public void testGoodIpAddresses() throws ParseException { for (String spec : GOOD_IPS) { assertGood(spec); } } public void testBadIpAddresses() { for (String spec : BAD_IPS) { assertBad(spec); } } public void testGoodDomains() throws ParseException { for (String spec : GOOD_DOMAINS) { assertGood(spec); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HttpHeadersTest.java
assertConstantNameMatchesString(HttpHeaders.class, specialCases, uppercaseAcronyms); } // Visible for other tests to use static void assertConstantNameMatchesString( Class<?> clazz, ImmutableBiMap<String, String> specialCases, ImmutableSet<String> uppercaseAcronyms) throws IllegalAccessException { for (Field field : relevantFields(clazz)) { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 22 21:08:08 UTC 2024 - 3.9K bytes - Viewed (0)