- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 6,187 for New (0.04 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
AbstractFuture<String> future = new AbstractFuture<String>() {}; WaiterThread waiter = new WaiterThread(future); waiter.start(); waiter.awaitWaiting(); PollingThread poller = new PollingThread(future); poller.start(); PollingThread poller2 = new PollingThread(future); poller2.start(); PollingThread poller3 = new PollingThread(future); poller3.start();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
byte[] buffer = new byte[100]; int read = trans2FindFirst2.readParametersWireFormat(buffer, 0, 100); assertEquals(0, read); } @Test @DisplayName("Test readDataWireFormat returns 0") void testReadDataWireFormat() { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
void testRoundTripFull() throws IOException { // Arrange – create a fully populated token ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); byte[] tokenArray = new byte[] { 1, 2, 3 }; byte[] mic = new byte[] { 9, 9, 9 }; NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic); // Act – serialise and parse back
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} } public void testBridgeMethodIgnored() { new NullPointerTester().testAllPublicInstanceMethods(new StringFoo()); } private abstract static class DefaultValueChecker { private final Map<Integer, Object> arguments = new HashMap<>(); @CanIgnoreReturnValue final DefaultValueChecker runTester() { new NullPointerTester().testInstanceMethods(this, Visibility.PACKAGE);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
StringCatcher stringCatcher = new StringCatcher(); List<Object> objectEvents = new ArrayList<>(); Object objCatcher = new Object() { @Subscribe public void eat(Object food) { objectEvents.add(food); } }; List<Comparable<?>> compEvents = new ArrayList<>(); Object compCatcher = new Object() { @Subscribe
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
StringCatcher stringCatcher = new StringCatcher(); List<Object> objectEvents = new ArrayList<>(); Object objCatcher = new Object() { @Subscribe public void eat(Object food) { objectEvents.add(food); } }; List<Comparable<?>> compEvents = new ArrayList<>(); Object compCatcher = new Object() { @Subscribe
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
NtlmPasswordAuthenticator baseAuth = new NtlmPasswordAuthenticator("domain", "user", new String(basePassword)); NtlmPasswordAuthenticator startAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtStart)); NtlmPasswordAuthenticator middleAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtMiddle));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java
final LlmException exception = new LlmException("Error message"); assertEquals("Error message", exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructorWithMessageAndCause() { final RuntimeException cause = new RuntimeException("Root cause"); final LlmException exception = new LlmException("Error occurred", cause);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 04:19:06 GMT 2026 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
public void testDelegateRejection() { AtomicInteger numCalls = new AtomicInteger(); AtomicBoolean reject = new AtomicBoolean(true); SequentialExecutor executor = new SequentialExecutor( new Executor() { @Override public void execute(Runnable r) { if (reject.get()) { throw new RejectedExecutionException(); }
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) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
authDataVector.add(new DERSequence(authElementVector)); vector.add(new DERTaggedObject(10, new DERSequence(authDataVector))); DERSequence sequence = new DERSequence(vector); byte[] encoded = new DERTaggedObject(false, BERTags.APPLICATION, 1, sequence).getEncoded(); KerberosEncData encData = new KerberosEncData(encoded, Collections.emptyMap());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.7K bytes - Click Count (0)