- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 426 for single1 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
static void checkCast(Class<?> clazz, Object obj) {} static <T> T[] clone(T[] array) { return (T[]) Arrays.copyOfRange(array, 0, array.length); } // TODO: Consolidate different copies in one single place. static String format(String template, Object... args) { // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
*/ @SuppressWarnings("unchecked") public static <C extends Comparable> ImmutableRangeSet<C> of() { return (ImmutableRangeSet<C>) EMPTY; } /** * Returns an immutable range set containing the specified single range. If {@link Range#isEmpty() * range.isEmpty()}, this is equivalent to {@link ImmutableRangeSet#of()}. */ public static <C extends Comparable> ImmutableRangeSet<C> of(Range<C> range) { checkNotNull(range);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Funnel.java
* * <p>Note that serialization of {@linkplain BloomFilter bloom filters} requires the proper * serialization of funnels. When possible, it is recommended that funnels be implemented as a * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item * 3: "Enforce the singleton property with a private constructor or an enum type". For example: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
} /** * Replaces the existing container under test with a new container. This is useful when a single * test method needs to create multiple containers while retaining the ability to use {@link * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of * multiple containers in a single method is discouraged in most cases, but it is vital to the * iterator tests. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
task.setDescription("Generates HTML single-page user manual."); configureForUserGuideSinglePage(task, extension, project); task.outputOptions(options -> options.setBackends(singletonList("html5"))); // TODO: This breaks the provider task.setOutputDir(extension.getUserManual().getStagingRoot().dir("render-single-html").get().getAsFile()); });
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 17.8K bytes - Click Count (0) -
.teamcity/scripts/CheckRemoteProjectRef.java
import java.io.*; import java.nio.charset.*; import java.nio.file.*; import java.util.*; /** * Verifies that the given "remote project ref" properties exist in {@code gradle.properties}. * * Usage (Java 11+ single-file source execution): * java .teamcity/scripts/CheckRemoteProjectRef.java <propertyKey1> <propertyKey2> ... * * The check currently enforces: * - Each requested key exists in {@code gradle.properties}
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; /** * Tests for SmbRenewableCredentials interface. * * Since this file is an interface with a single method, we provide small * helper implementations to exercise expected interaction patterns and edge cases. */ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
@Test @DisplayName("handleDFSReferral returns resolved UNC path as stubbed") void handleDfsReferralValidInputs() { // Edge-like Windows UNC-style: a single backslash in the path String reqPath = "\\"; String resolved = "smb://server/share/path"; when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
import java.util.concurrent.*; import java.util.regex.*; import java.util.stream.*; /** * TeamCity helper script to validate that each commit in a PR uses only released Gradle versions in the wrapper. * * Usage (Java 11+ single-file source execution): * java .teamcity/scripts/CheckWrapper.java < commits.txt * * Reads commit SHAs from stdin (one per line), checks wrapper per commit. */ public class CheckWrapper {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
List<E> containsNull = singletonList(null); assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull)); /* * We need (E) to force interpretation of null as the single element of a * varargs array, not the array itself */ expectAdded(0, (E) null); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.4K bytes - Click Count (0)