- Sort Score
- Num 10 results
- Language All
Results 1491 - 1500 of 5,478 for newE (0.02 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
protected Map<String, String> makeEmptyMap() { Map<String, Integer> underlying = new HashMap<>(); return transformValues( new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); } @Override protected Map<String, String> makePopulatedMap() { Map<String, Integer> underlying = new HashMap<>(); underlying.put("a", 1); underlying.put("b", 2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
ExecutorService executor = Executors.newFixedThreadPool(threadCount); CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicInteger successCount = new AtomicInteger(0); List<Exception> exceptions = new ArrayList<>(); // When - Multiple threads get and release buffers for (int t = 0; t < threadCount; t++) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java
/** * Test RDMA configuration properties */ public class RdmaConfigurationTest { @Test public void testDefaultRdmaConfiguration() throws CIFSException { Properties props = new Properties(); PropertyConfiguration config = new PropertyConfiguration(props); // Test default values assertFalse(config.isUseRDMA(), "RDMA should be disabled by default");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER = new CacheLoader<Key, String>() { @Override public String load(Key key) { return key.toString(); } }; private CacheBuilderFactory factoryWithAllKeyStrengths() { return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK))
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
// -1 == 0xFFFF int negativeSid = -1; SmbComFindClose2 neg = new SmbComFindClose2(mockConfig, negativeSid); byte[] dst = new byte[2]; int written = neg.writeParameterWordsWireFormat(dst, 0); assertEquals(2, written); assertArrayEquals(new byte[] { (byte) 0xFF, (byte) 0xFF }, dst, "Negative sid should wrap to 0xFFFF"); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
MockitoAnnotations.openMocks(this); echoResponse = new Smb2EchoResponse(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create response with configuration") void testConstructor() { Smb2EchoResponse response = new Smb2EchoResponse(mockConfig); assertNotNull(response);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
return new SetWithResolutionResult(null, new LinkedHashSet<>()); } scopesToCollect = new HashSet<>(scopesToCollect); scopesToCollect.addAll(scopesToResolve); DependencyFilter collectionFilter = new ScopeDependencyFilter(null, negate(scopesToCollect)); DependencyFilter resolutionFilter = new ScopeDependencyFilter(null, negate(scopesToResolve));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
int start = bufferIndex; if (len < 32) { throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len); } // Read lease V1 data (32 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java
if (is == null) { throw new IllegalStateException("The super POM " + resource + " was not found" + ", please verify the integrity of your Maven installation"); } try { Map<String, Object> options = new HashMap<>(); options.put("xml:4.0.0", "xml:4.0.0");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.1K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
private final List<SettingsProblem> problems; /** * Creates a new exception with the specified problems. * * @param problems The problems that cause this exception, may be {@code null}. */ public SettingsBuildingException(List<SettingsProblem> problems) { super(toMessage(problems)); this.problems = new ArrayList<>(); if (problems != null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 2.9K bytes - Click Count (0)