- Sort Score
- Num 10 results
- Language All
Results 2861 - 2870 of 5,694 for String (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/ImmutableSortedMapSubMapMapInterfaceTest.java
@NullUnmarked public class ImmutableSortedMapSubMapMapInterfaceTest extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> { @Override protected SortedMap<String, Integer> makePopulatedMap() { return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).subMap("b", "d"); } @Override protected String getKeyNotInPopulatedMap() { return "a"; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.2K bytes - Click Count (0) -
cmd/os-readdir_test.go
} } } // Represents data type for all the test results. type result struct { dir string entries []string } // Test to read empty directory. func setupTestReadDirEmpty(t *testing.T) (testResults []result) { // Add empty entry slice for this test directory. testResults = append(testResults, result{t.TempDir(), []string{}}) return testResults } // Test to read non-empty directory with only files.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java
*/ @FunctionalInterface public interface UserTypeSupplier { /** * Supply the user type. * @return The user type. */ OptionalThing<String> supply(); } /** * The supplier of user bean. */ @FunctionalInterface public interface UserBeanSupplier { /** * Supply the user bean.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
* Test the toString method to ensure it returns the expected string format. */ @Test @DisplayName("toString should return a correctly formatted string") void testToString() { int errorClass = NbtException.ERR_SSN_SRVC; int errorCode = NbtException.CONNECTION_REFUSED; NbtException exception = new NbtException(errorClass, errorCode);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
*/ private void setPrivateField(Object obj, String fieldName, Object value) throws Exception { Field field = obj.getClass().getDeclaredField(fieldName); field.setAccessible(true); field.set(obj, value); } /** * Helper method to get private field value using reflection */ private Object getPrivateField(Object obj, String fieldName) throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java
private TimeUnit recordedTimeUnit; private final ListeningExecutorService executorService = new FakeExecutorService(); public void testInvokeAny() throws Exception { Set<Callable<String>> tasks = Collections.singleton(() -> "invokeAny"); String result = executorService.invokeAny(tasks, Duration.ofSeconds(7)); assertThat(result).isEqualTo("invokeAny"); assertThat(recordedTasks).isSameInstanceAs(tasks);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 4.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt
fun sourceFileAndSourceRootFor(sourceFilePath: String): Pair<File, File> = sourceRoots.asSequence() .map { it.resolve(sourceFilePath) to it } .firstOrNull { it.first.isFile } ?: error("Source file '$sourceFilePath' not found, searched in source roots:\n - ${sourceRoots.joinToString("\n - ")}") private val KtFile.normalizedPath: String?
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Apr 28 14:56:52 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/IndexedIterator.java
* * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * * List<String> list = ...; * for (Indexed<String> indexed : indexed(list)) { * System.out.println(indexed.getIndex()); * System.out.println(indexed.getElement()); * } * </pre> * * <pre>
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.3K bytes - Click Count (0) -
cmd/metacache-entries_test.go
if !reflect.DeepEqual(want, got) { t.Errorf("got unexpected result: %#v", got) } } func Test_metaCacheEntry_isInDir(t *testing.T) { tests := []struct { testName string entry string dir string sep string want bool }{ { testName: "basic-file", entry: "src/file", dir: "src/", sep: slashSeparator, want: true, }, {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
} // No data to decode return 0; } /** * Get the context name as string * @return the context name */ public String getContextName() { return CONTEXT_NAME; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2K bytes - Click Count (0)