Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 240 for triggers (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          if (!GUAVA_PACKAGES.contains(info.getPackageName())) {
            continue;
          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            assertTrue(repr.contains("typeOfLock=7"));
            assertTrue(repr.contains("newOplockLevel=2"));
        }
    
        /**
         * Test decoding of bytes buffer that is too short triggers an exception.
         * Note: The actual implementation throws ArrayIndexOutOfBoundsException
         * when the buffer is too short, not SMBProtocolDecodingException.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

        void renewOnNullReferenceThrowsNPE() {
            // Arrange: null reference to the interface
            SmbRenewableCredentials creds = null;
    
            // Act + Assert: invoking renew() on null triggers NullPointerException
            assertThrows(NullPointerException.class, () -> {
                // Intentional NPE through dereference of a null interface reference
                creds.renew();
            });
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. 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 the
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    					br.Close()
    				}
    				p.readers[i] = nil
    
    				// Since ReadAt returned error, trigger another read.
    				readTriggerCh <- true
    				return
    			}
    			newBufLK.Lock()
    			newBuf[bufIdx] = p.buf[bufIdx][:n]
    			newBufLK.Unlock()
    			// Since ReadAt returned success, there is no need to trigger another read.
    			readTriggerCh <- false
    		}(readerIndex)
    		readerIndex++
    	}
    	wg.Wait()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertNotNull(result);
        }
    
        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);
        }
    
        public void test_getMatchedLabelValueSet() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top