- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 321 for triggers (0.05 seconds)
-
src/test/java/jcifs/smb/HandlerTest.java
} @Test @DisplayName("parseURL: exact 'smb://' sets default port") void testParseURL_ExactRoot_DefaultPort() throws MalformedURLException { // Arrange & Act: constructing this URL triggers Handler.parseURL("smb://") Handler handler = newHandler(); URL url = new URL(null, "smb://", handler); // Assert assertEquals("smb", url.getProtocol());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
waitingThread.interrupt(); } future.set(RESULT); assertEquals(times > 0, (boolean) interruptReporter.get(20, SECONDS)); } /** * Confirms that the test code triggers {@link InterruptedException} in a standard {@link Future}. */ public void testMakeUninterruptible_plainFutureSanityCheck() throws Exception { SettableFuture<String> future = SettableFuture.create();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
* of a Maven project. Each phase represents a specific step, such as compiling the * code, running tests, packaging the project, and deploying it. Executing a phase * triggers all preceding phases, ensuring that each step of the build process is * completed in the correct order. The three main lifecycles in Maven are * {@link #DEFAULT default}, {@link #CLEAN clean}, and {@link #SITE site}, with theCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/MIENameTest.java
return buf; }, IllegalArgumentException.class), // Negative NAME_LEN (0xFFFFFFFF) causes StringIndexOutOfBoundsException Arguments.of("negative name length triggers SIOOBE", (java.util.function.Supplier<byte[]>) () -> { byte[] tok = new byte[] { 0x04, 0x01 }; byte[] buf = new byte[2 + 2 + der.length + 4]; int p = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
when(this.mechContext.getFlags()).thenReturn(0x1234); when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 }); // Act: len==0 triggers initial token construction byte[] out = ctx.initSecContext(null, 0, 0); // Assert: returns a SPNEGO token (opaque here but non-null/non-empty) assertNotNull(out); assertTrue(out.length > 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
internal/dsync/dsync_test.go
// These goroutines yield during local work, so that switching from // a blocked goroutine to other goroutines is profitable. // As a matter of fact, this benchmark still triggers some spinning in the mutex. m := NewDRWMutex(ds, "") var acc0, acc1 uint64 b.SetParallelism(4) b.RunParallel(func(pb *testing.PB) { c := make(chan bool) var data [4 << 10]uint64
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
assertNotNull(result); } @Test public void test_getLabelTypeItemList_nullLabelTypeItemList() { // Test when labelTypeItemList is null (triggers init) List<Map<String, String>> result = labelTypeHelper.getLabelTypeItemList(SearchRequestType.SEARCH, Locale.ROOT); assertNotNull(result); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
block.headerStart = 0; byte[] buf = new byte[64]; buf[0] = 4; // wordCount buf[1] = 0x42; // andxCommand // andxOffset = 0 triggers workaround -> treat as no andx ServerMessageBlock.writeInt2(0, buf, 3); ServerMessageBlock.writeInt2(10, buf, 9); // byteCount int n = block.readAndXWireFormat(buf, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
SmbResourceLocator locator = mock(SmbResourceLocator.class); when(parent.getLocator()).thenReturn(locator); // Host is empty -> triggers master browser path URL anyUrlWithEmptyHost = new URL("file:/"); when(locator.getURL()).thenReturn(anyUrlWithEmptyHost);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0)