- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 218 for 123 (0.01 seconds)
-
guava/src/com/google/common/base/Stopwatch.java
* Stopwatch stopwatch = Stopwatch.createStarted(); * doSomething(); * stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * } * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch * that is already in the desired state. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
cmd/apierrorcode_string.go
_ = x[ErrObjectLockConfigurationNotAllowed-119] _ = x[ErrNoSuchObjectLockConfiguration-120] _ = x[ErrObjectLocked-121] _ = x[ErrInvalidRetentionDate-122] _ = x[ErrPastObjectLockRetainDate-123] _ = x[ErrUnknownWORMModeDirective-124] _ = x[ErrBucketTaggingNotFound-125] _ = x[ErrObjectLockInvalidHeaders-126] _ = x[ErrInvalidTagDirective-127] _ = x[ErrPolicyAlreadyAttached-128]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 21.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
assertThat(UnsignedBytes.join(",", new byte[] {(byte) 1})).isEqualTo("1"); assertThat(UnsignedBytes.join(",", (byte) 1, (byte) 2)).isEqualTo("1,2"); assertThat(UnsignedBytes.join("", (byte) 1, (byte) 2, (byte) 3)).isEqualTo("123"); assertThat(UnsignedBytes.join(",", (byte) 128, (byte) -1)).isEqualTo("128,255"); } private static boolean unsafeComparatorAvailable() { return UnsafeComparator.INSTANCE.isFunctional(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
multimap.put("foo", 3); multimap.put("bar", 1); multimap.putAll("foo", asList(-1, 2, 4)); multimap.putAll("bar", asList(2, 3)); multimap.put("foo", 1); assertEquals("{foo=[3, -1, 2, 4, 1], bar=[1, 2, 3]}", multimap.toString()); } public void testOrderingReadOnly() { SetMultimap<String, Integer> multimap = initializeMultimap5(); assertOrderingReadOnly(multimap); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 16.5K bytes - Click Count (0) -
internal/s3select/sql/parser_test.go
participle.CaseInsensitive("Keyword"), ) s := Select{} cases := []string{ "select * from s3object where name > 2 or value > 1 or word > 2", "select s.word.id + 2 from s3object s", "select 1-2-3 from s3object s limit 1", } for i, tc := range cases { err := p.ParseString(tc, &s) if err != nil { t.Fatalf("%d: %v", i, err) } // repr.Println(s, repr.Indent(" "), repr.OmitEmpty(true))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
bimap.put("one", 1); BiMap<String, Integer> sync = Maps.synchronizedBiMap(bimap); bimap.put("two", 2); sync.put("three", 3); assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet()); assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet()); } private static final Function<Integer, Double> SQRT_FUNCTION = in -> Math.sqrt(in); public void testTransformValues() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Chars.java
} /** * Returns a string containing the supplied {@code char} values separated by {@code separator}. * For example, {@code join("-", '1', '2', '3')} returns the string {@code "1-2-3"}. * * @param separator the text that should appear between consecutive values in the resulting string * (but not at the start or end)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
} /** * Returns a string containing the supplied {@code int} values separated by {@code separator}. For * example, {@code join("-", 1, 2, 3)} returns the string {@code "1-2-3"}. * * @param separator the text that should appear between consecutive values in the resulting string * (but not at the start or end)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 31.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
.testEquals(); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testForMapWithDefaultSerializable() { checkCanReserialize(Functions.forMap(ImmutableMap.of(1, 2), 3)); } public void testForMapWithDefault_null() { ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1); Function<String, @Nullable Integer> function = Functions.forMap(map, null);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 16K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
reserialize(ImmutableDoubleArray.of(1, 2)), ImmutableDoubleArray.of(0, 1, 2, 3).subArray(1, 3)) .addEqualityGroup(ImmutableDoubleArray.of(1, 3)) .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.5K bytes - Click Count (0)