- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 868 for setName (0.05 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenApisPrecommitPlugin.java
t.dependsOn(resourcesTask); assert t.getName().startsWith(ForbiddenApisPlugin.FORBIDDEN_APIS_TASK_NAME); String sourceSetName; if (ForbiddenApisPlugin.FORBIDDEN_APIS_TASK_NAME.equals(t.getName())) { sourceSetName = "main"; } else { // parse out the sourceSetName
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName()); Constructor<?> sepFwrCons = sepFwrC.getConstructor(Object.class, sepFrqC); // The object that we will wrap in FinalizableWeakReference is a Stopwatch. Class<?> sepStopwatchC = sepLoader.loadClass(Stopwatch.class.getName()); assertThat(sepLoader).isSameInstanceAs(sepStopwatchC.getClassLoader());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
// For workgroup/server entries, names end with '/' assertTrue(r1.getName().endsWith("/"), "Name should end with '/'"); assertTrue(itr.hasNext(), "Should have second element ready"); SmbResource r2 = itr.next(); assertNotNull(r2, "Second adapted resource must not be null"); assertTrue(r2.getName().endsWith("/"), "Name should end with '/'");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
List<DirectoryCacheEntry.FileInfo> children = cacheEntry.getChildren(); assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName()))); assertTrue(children.stream().anyMatch(f -> "dir1".equals(f.getName()))); } @Test public void testUpdateDirectoryCache() throws IOException { String directoryPath = "/test/dir";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
assertNotNull(jobProcess); assertSame(mockProcess, jobProcess.getProcess()); assertNotNull(jobProcess.getInputStreamThread()); assertEquals("InputStreamThread", jobProcess.getInputStreamThread().getName()); } @Test public void test_constructor_withBufferSizeAndCallback() throws IOException { Process mockProcess = createMockProcess("callback test\nanother line");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
void testConstructorWithNetbiosNames() { when(mockCalledName.getName()).thenReturn("SERVER"); when(mockCalledName.getNameType()).thenReturn(0x20); when(mockCalledName.getScope()).thenReturn(null); when(mockCallingName.getName()).thenReturn("CLIENT"); when(mockCallingName.getNameType()).thenReturn(0x00);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
private static boolean isKotlinBooleanSourceCompatibilityMethod(JApiMethod jApiMethod, Map<AccessorKey, UpgradedProperty> currentMethods) { if (!jApiMethod.getName().startsWith("getIs")) { return false; } String methodName = "get" + jApiMethod.getName().substring(5); return currentMethods.containsKey(AccessorKey.ofMethodWithSameSignatureButNewName(methodName, jApiMethod)); }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
if (field.getType().equals(HtmlNext.class)) { Object value = field.get(null); assertNotNull(value, "Field " + field.getName() + " should not be null"); assertTrue(value instanceof HtmlNext, "Field " + field.getName() + " should be HtmlNext instance"); } } } } @Test public void test_pathValues() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy
public class ${sourceFile.getName() - ".java"} { } """ } private File unknownSourceFile(String filePath = "src/main/java/org/acme/UnknownLicensed.java") { File sourceFile = file(filePath); sourceFile << """ /* * Blubb my custom license shrug! */ package ${packageString(sourceFile)}; public class ${sourceFile.getName() - ".java"} { } """ }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 4.1K bytes - Click Count (0)