- Sort Score
- Num 10 results
- Language All
Results 2361 - 2370 of 6,076 for new1 (0.02 seconds)
-
guava/src/com/google/common/base/Enums.java
enumConstantCache = new WeakHashMap<>(); private static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> populateCache( Class<T> enumClass) { Map<String, WeakReference<? extends Enum<?>>> result = new HashMap<>(); for (T enumInstance : EnumSet.allOf(enumClass)) { result.put(enumInstance.name(), new WeakReference<Enum<?>>(enumInstance)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
// Test that DcerpcException can be created and implements DcerpcError DcerpcException ex1 = new DcerpcException("Test error", null); assertTrue(ex1 instanceof DcerpcError, "DcerpcException should implement DcerpcError"); // Test that DcerpcException can be created with string messages DcerpcException ex2 = new DcerpcException("Access denied error");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/dcerpc/msrpc/SamrAliasHandleTest.java
rpc.retval = 0; // Simulate success return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class)); // Act SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid); // Assert assertNotNull(aliasHandle); // Verify that sendrecv was called with the correct MsrpcSamrOpenAlias objectCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java
} dictionaryManager.addCreator(this); } /** * Creates a new {@link StopwordsFile} instance. * * @param id The unique identifier for the dictionary file. * @param path The file path of the dictionary. * @param timestamp The last modified timestamp of the file. * @return A new {@link StopwordsFile} associated with the dictionary manager. */ @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java
private AsyncEventBus bus; @Override protected void setUp() throws Exception { super.setUp(); executor = new FakeExecutor(); bus = new AsyncEventBus(executor); } public void testBasicDistribution() { StringCatcher catcher = new StringCatcher(); bus.register(catcher); // We post the event, but our Executor will not deliver it until instructed. bus.post(EVENT);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
} public void testNoForwardingOfDefaultMethod() throws Exception { ExecutorService delegate = new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60, SECONDS, new SynchronousQueue<>()) { @Override public void close() { throw new AssertionError( "ForwardingExecutorService should have used the default method"
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java
this.longMessage = longMessage; } /** * Constructs a new {@code MojoException} wrapping an underlying {@code Throwable} * and providing a {@code message}. */ public MojoException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new {@code MojoException} providing a {@code message}. */ public MojoException(String message) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon May 13 09:53:45 GMT 2024 - 2.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java
* @param prefix the prefix. * @param root the root of the graph. */ public PrefixedObjectValueSource(String prefix, Object root) { super(new PrefixedValueSourceWrapper(new ObjectBasedValueSource(root), prefix)); } /** * Wrap the specified root object, allowing the specified list of expressionCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestTaskConfigurer.java
test.doFirst(new InitTaskAction(extension)); } private static RerunTestExecuter createRetryTestExecuter(Task task, TestRerunTaskExtension extension) { TestExecuter<JvmTestExecutionSpec> delegate = getTestExecuter(task); return new RerunTestExecuter(extension, delegate); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/BreakingChangesGenerator.java
.sorted(comparing(ChangelogEntry.Deprecation::getTitle)) .collect(groupingBy(ChangelogEntry.Deprecation::getArea, TreeMap::new, Collectors.toList())); final Map<String, Object> bindings = new HashMap<>(); bindings.put("breakingChangesByNotabilityByArea", breakingChangesByNotabilityByArea); bindings.put("deprecationsByArea", deprecationsByArea);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 14:45:41 GMT 2021 - 3K bytes - Click Count (0)