- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,284 for avoid (0.2 sec)
-
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getNetbiosScope()).thenReturn(null); // Configure OEM encoding to avoid NullPointerException when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); } @Test @DisplayName("Constructor with Configuration only should create empty Name instances") void testConstructorWithConfigOnly() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
// Test implementation of ThumbnailManager to avoid container dependencies private class TestThumbnailManager extends ThumbnailManager { @Override public void init() { // Do nothing to avoid container access } @Override protected void storeQueue(List<Tuple3<String, String, String>> taskList) { // Override to avoid database operations taskList.clear();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
} @Test void testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection() throws Exception { // This test ensures that for a standard HTTPS URL, openConnection also works and // wraps the connection, using mock handlers to avoid dependency on system handlers. setupMockProtocolHandlers(); URL url = new URL("https://example.com/resource");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arch.go
register["HI"] = mips.REG_HI register["LO"] = mips.REG_LO // Pseudo-registers. register["SB"] = RSB register["FP"] = RFP register["PC"] = RPC // Avoid unintentionally clobbering g using R30. delete(register, "R30") register["g"] = mips.REG_R30 // Avoid unintentionally clobbering RSB using R28. delete(register, "R28") register["RSB"] = mips.REG_R28 registerPrefix := map[string]bool{ "F": true,
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Nov 07 02:20:14 UTC 2024 - 21.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
* @throws IOException */ @BeforeEach void setUp() throws IOException { // Create a real URL instead of mocking to avoid protocol issues mockUrl = new URL("http://test.example.com/path"); // Basic setup for mocks to avoid NullPointerExceptions when(mockConnection.getURL()).thenReturn(mockUrl);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
docs/bucket/replication/DESIGN.md
in active-active replication, the replication configuration for replica metadata sync, delete marker replication and delete replication should match to avoid inconsistent picture between the clusters. It is not recommended to turn on asymmetric replication - for e.g. if three sites A,B,C are participating in replication, it would be better to avoid replication setups like A -> [B, C], B -> A. In this particular example, an object uploaded to A will be replicated to B,C. If replica metadata sync is...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 14.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* @param hc the hash code holder * @param wasUncontended false if CAS failed before call */ final void retryUpdate(long x, int @Nullable [] hc, boolean wasUncontended) { int h; if (hc == null) { threadHashCode.set(hc = new int[1]); // Initialize randomly int r = rng.nextInt(); // Avoid zero to allow xorShift rehash h = hc[0] = (r == 0) ? 1 : r; } else h = hc[0];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
private static final String TEST_SERVER = "server"; private static final String TEST_ENDPOINT = "\\pipe\\test"; @BeforeEach void setUp() throws IOException { // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException lenient().when(mockSmbNamedPipe.openPipe()).thenReturn(mockSmbPipeHandle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception * types your try block can throw when calling an overload of this method so as to avoid losing * the original exception type. * * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);} * to ensure the compiler knows that it will throw. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
// Helper methods for testing void setSetupWireFormatReturn(int value) { this.setupWireFormatReturn = value; } void setParametersWireFormatReturn(int value) { this.parametersWireFormatReturn = value; } void setDataWireFormatReturn(int value) { this.dataWireFormatReturn = value; } void setSetupBuffer(byte[] buffer) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0)