- Sort Score
- Result 10 results
- Languages All
Results 2311 - 2320 of 4,619 for _new (0.2 sec)
-
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)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (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");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (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 objectRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/archive/zip/writer_test.go
testReadFile(t, src.File[i], &wt) } // make a new zip file copying the old compressed data. buf2 := new(bytes.Buffer) dst := NewWriter(buf2) for _, f := range src.File { if err := dst.Copy(f); err != nil { t.Fatal(err) } } if err := dst.Close(); err != nil { t.Fatal(err) } // read the new one back r, err := NewReader(bytes.NewReader(buf2.Bytes()), int64(buf2.Len()))
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
} @Test public void testMultipleAnalyzersIndependence() { // Test that multiple analyzer instances work independently SuggestAnalyzer analyzer1 = new TestSuggestAnalyzer(); SuggestAnalyzer analyzer2 = new TestSuggestAnalyzer(); String text = "test text"; String field = "content"; String lang = "en";Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java
/** * Create new RDMA channel info * * @param remoteKey remote memory key for RDMA access (token) * @param address remote memory address (offset) * @param length length of the memory region */ public RdmaChannelInfo(int remoteKey, long address, int length) { // Create SMB2_RDMA_TRANSFORM structure this.transform = new Smb2RdmaTransform(address, remoteKey, length); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/ResultSetUtil.java
assertArgumentNotNull("resultSet", resultSet); try { return resultSet.next(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Moves the cursor to the specified position. * * @param resultSet * The result set. Must not be {@literal null}.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.9K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java
public class InvokerException extends MavenException { /** * Constructs a new {@code InvokerException} with the specified detail message. * * @param message the detail message explaining the cause of the exception */ public InvokerException(@Nullable String message) { super(message); } /** * Constructs a new {@code InvokerException} with the specified detail message and cause. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Nov 13 14:14:56 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
final String msg = request.getHeader("Authorization"); if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (loadBalance) { dc = new UniAddress(NbtAddress.getByName(domainController, 0x1C, null)); } else { dc = UniAddress.getByName(domainController, true); } NtlmPasswordAuthentication ntlm;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0)