- Sort Score
- Result 10 results
- Languages All
Results 1471 - 1480 of 4,619 for _new (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
} @Override public String toString() { return "ConcreteSmbComNtTransaction"; } } @BeforeEach void setUp() { smbComNtTransaction = new ConcreteSmbComNtTransaction(); } @Test void testConstructor() { // Test if the offsets are initialized correctly by the constructor.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
return; } } } throw new IllegalArgumentException(message); } public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) { Map<String, Artifact> artifactMap = new LinkedHashMap<>(); if (artifacts != null) { for (Artifact artifact : artifacts) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
if (artifacts == null) { artifacts = new LinkedHashSet<>(); } artifacts.add(artifact); } public Set<Artifact> getArtifacts() { return artifacts; } public void addRequestedArtifact(Artifact artifact) { if (requestedArtifacts == null) { requestedArtifacts = new LinkedHashSet<>(); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
final String servletPath = "/api/v1/search"; webApiRequest = new WebApiRequest(mockRequest, servletPath); assertNotNull(webApiRequest); assertEquals(servletPath, webApiRequest.servletPath); } public void test_constructor_withEmptyServletPath() { final String servletPath = ""; webApiRequest = new WebApiRequest(mockRequest, servletPath); assertNotNull(webApiRequest);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
private static final ResourceManager INSTANCE = new ResourceManager(); private final Map<String, ResourceHolder> activeResources = new ConcurrentHashMap<>(); private final ReferenceQueue<AutoCloseable> referenceQueue = new ReferenceQueue<>(); private final AtomicLong resourceIdCounter = new AtomicLong(); private final AtomicLong totalAllocated = new AtomicLong();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
} return new BasicNameValuePair(name, value); }).collect(Collectors.toList())); if (paramList != null) { parameters.addAll( paramList.stream().map(p -> new BasicNameValuePair(p.getFirst(), p.getSecond())).collect(Collectors.toList())); } return new UrlEncodedFormEntity(parameters, encoding);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
guava/src/com/google/common/reflect/Types.java
return newTypeVariableImpl( declaration, name, (bounds.length == 0) ? new Type[] {Object.class} : bounds); } /** Returns a new {@link WildcardType} with {@code upperBound}. */ @VisibleForTesting static WildcardType subtypeOf(Type upperBound) { return new WildcardTypeImpl(new Type[0], new Type[] {upperBound}); } /** Returns a new {@link WildcardType} with {@code lowerBound}. */ @VisibleForTesting
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
static final RuntimeException RUNTIME_EXCEPTION = new RuntimeException(); static final OtherThrowable OTHER_THROWABLE = new OtherThrowable(); static final Future<String> FAILED_FUTURE_OTHER_THROWABLE = immediateFailedFuture(OTHER_THROWABLE); static final Error ERROR = new Error("mymessage"); static final Future<String> FAILED_FUTURE_ERROR = immediateFailedFuture(ERROR); static final Future<String> RUNTIME_EXCEPTION_FUTURE =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
@Test @Timeout(5) public void testSessionLifecycle() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Test initial state - session starts with usage count > 0 due to transport.acquire() assertTrue(session.isInUse(), "New session should be in use due to transport acquisition"); // Test additional acquire session.acquire();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
} @Test @DisplayName("Should renew credentials when they are renewable and renew() returns new credentials") void testRenewCredentials_RenewableAndRenewed() { // Set up the wrapper with renewable credentials wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockRenewableCredentials); when(mockRenewableCredentials.renew()).thenReturn(mockRenewedCredentialsInternal);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)