- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 1,187 for Different (0.08 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
@AndroidIncompatible public void testTaskThrowsError() throws Exception { class MyError extends Error {} CyclicBarrier barrier = new CyclicBarrier(2); // we need to make sure the error gets thrown on a different thread. ExecutorService service = newSingleThreadExecutor(); try { SequentialExecutor executor = new SequentialExecutor(service); Runnable errorTask = () -> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* nullness annotations in particular will outweigh the costs. (And it's worth noting that we have * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and * `-android` "flavors.") * * (We could consider releasing a listenablefuture:1.0.1 someday. But we would want to look into how
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
Spliterator.OfPrimitive<E, C, ?> split = spliteratorOfPrimitive.trySplit(); return split == null ? null : new GeneralSpliteratorOfPrimitive<>(split, consumerizer); } } /** * Different ways of decomposing a Spliterator, all of which must produce the same elements (up to * ordering, if Spliterator.ORDERED is not present). */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
* escaping for code points if required. * * <p>Note that arrays returned by this method must not be modified once they have been returned. * However it is acceptable to return the same array multiple times (even for different input * characters). * * @param cp the Unicode code point to escape * @return the replacement characters, or {@code null} if no escaping was required */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 8.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
Spliterator.OfPrimitive<E, C, ?> split = spliteratorOfPrimitive.trySplit(); return split == null ? null : new GeneralSpliteratorOfPrimitive<>(split, consumerizer); } } /** * Different ways of decomposing a Spliterator, all of which must produce the same elements (up to * ordering, if Spliterator.ORDERED is not present). */ private enum SpliteratorDecompositionStrategy {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.1K bytes - Click Count (0) -
cmd/signature-v4-parser.go
// Region is set to be empty, we use whatever was sent by the // request and proceed further. This is a work-around to address // an important problem for ListBuckets() getting signed with // different regions. if region == "" { region = sRegion } // Should validate region, only if region is set. if !isValidRegion(sRegion, region) { return ch, ErrAuthorizationHeaderMalformed }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:35 GMT 2025 - 9.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
"multiset.entrySet.retainAll(missingEntry) returned true", getMultiset().entrySet().retainAll(singleton(Multisets.immutableEntry(e0(), 2)))); assertFalse( "multiset contains element after retaining a different entry", getMultiset().contains(e0())); } @CollectionSize.Require(SEVERAL) @CollectionFeature.Require(SUPPORTS_REMOVE) @MultisetFeature.Require(ENTRIES_ARE_VIEWS)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* @throws IllegalArgumentException if {@code from.equals(to)} */ public static void copy(File from, File to) throws IOException { checkArgument(!from.equals(to), "Source %s and destination %s must be different", from, to); asByteSource(from).copyTo(asByteSink(to)); } /** * Copies all characters from a file to an appendable object, using the given character set. * * @param from the source fileCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertEquals(24L, MemoryUtil.sizeOf(1.0f)); assertEquals(24L, MemoryUtil.sizeOf(1.0d)); } @Test public void test_sizeOf_dateTimeTypes() { // Test different date/time types assertEquals(32L, MemoryUtil.sizeOf(new Date(0))); assertEquals(80L, MemoryUtil.sizeOf(LocalDateTime.of(2023, 1, 1, 0, 0))); assertEquals(2128L, MemoryUtil.sizeOf(ZonedDateTime.now()));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0) -
docs/contribute/concurrency.md
### Locks We have 3 different things that we synchronize on. #### Http2Connection
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0)