- Sort Score
- Num 10 results
- Language All
Results 1151 - 1160 of 6,020 for new1 (0.03 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
try { DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate"); DELEGATE_METHOD.setAccessible(true); } catch (SecurityException e) { throw new RuntimeException(e); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } /** * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception { * super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
final ConcurrentMap<String, Integer> delegate = new ConcurrentHashMap<>(); @Override protected ConcurrentMap<String, Integer> delegate() { return delegate; } } public void testPutIfAbsent() { TestMap map = new TestMap(); map.put("foo", 1); assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
try { DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate"); DELEGATE_METHOD.setAccessible(true); } catch (SecurityException e) { throw new RuntimeException(e); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } /** * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
*/ public class SessionRequestPacket extends SessionServicePacket { private final Name calledName, callingName; SessionRequestPacket(final Configuration config) { this.calledName = new Name(config); this.callingName = new Name(config); } /** * Constructs a NetBIOS session request packet. * * @param config the configuration to use for this packetCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
throws IOException { this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes this SAM domain handle. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
} final MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this); try { handle.sendrecv(rpc); } catch (final DcerpcException de) { if (de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR) { throw de; } final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this); handle.sendrecv(rpc2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
} catch (FileNotFoundException | URISyntaxException e) { throw new IllegalStateException("Missing test POM for " + artifact, e); } } else { result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null)); throw new ArtifactResolutionException(results); } } return results; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.1K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
class ContributorTest { @Test void testHashCodeNullSafe() { new Contributor().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Contributor().equals(null)); new Contributor().equals(new Contributor()); } @Test void testEqualsIdentity() { Contributor thing = new Contributor();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
class ExtensionTest { @Test void testHashCodeNullSafe() { new Extension().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Extension().equals(null)); new Extension().equals(new Extension()); } @Test void testEqualsIdentity() { Extension thing = new Extension();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0)