Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 893 for isValid (0.18 sec)

  1. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

        }
    
        public void test_loadProtocols_invalidPackage() {
            final ProtocolHelper protocolHelper = new ProtocolHelper();
    
            // Should not throw exception with invalid package
            protocolHelper.loadProtocols("org.invalid.package.does.not.exist");
    
            // Should have empty arrays initially
            assertEquals(0, protocolHelper.getWebProtocols().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          /**
           * Implementation of the actual value retrieval. Will return the value on success, an
           * exception on failure, a cancellation on cancellation, or an illegal state if the
           * synchronizer is in an invalid state.
           */
          private V getValue() throws CancellationException, ExecutionException {
            int state = getState();
            switch (state) {
              case COMPLETED:
                if (exception != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test initResolverOrder with invalid resolver and WINS without server")
        void testInitResolverOrderWithInvalidResolver() {
            config.winsServer = new InetAddress[0];
            config.initResolverOrder("DNS,INVALID,WINS,LMHOSTS");
    
            List<ResolverType> order = config.getResolveOrder();
            assertEquals(2, order.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(true, 3, 10000, TYPE_DATA, 0x20))
          .isEqualTo("<< 0x00000003 10000 DATA          COMPRESSED")
      }
    
      /**
       * Ensures that valid flag combinations appear visually correct, and invalid show in hex.  This
       * also demonstrates how sparse the lookup table is.
       */
      @Test
      fun allFormattedFlagsWithValidBits() {
        val formattedFlags = mutableListOf<String>() // Highest valid flag is 0x20.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

                bufferIndex += 2;
                final int numAces = ServerMessageBlock.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
    
                if (numAces > 4096) {
                    throw new IOException("Invalid SecurityDescriptor");
                }
    
                aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    aces[i] = new ACE();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DfsImplTest.java

            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral));
        }
    
        @Test
        void testCache_InvalidPath() {
            // Scenario: The UNC path provided is invalid.
            DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class);
            // Should not throw any exception.
            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "invalidpath", mockReferral));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. docs/site-replication/README.md

    tokens signed previously by root credentials will no longer be valid upon upgrading to the latest version with this change. Please re-generate them as you usually do. Additionally, if site replication is ever removed - the STS tokens will become invalid, regenerate them as you usually do....
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      return false
    }
    
    internal fun String.containsInvalidHostnameAsciiCodes(): Boolean {
      for (i in 0 until length) {
        val c = this[i]
        // The WHATWG Host parsing rules accepts some character codes which are invalid by
        // definition for OkHttp's host header checks (and the WHATWG Host syntax definition). Here
        // we rule out characters that would cause problems in host headers.
        if (c <= '\u001f' || c >= '\u007f') {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            }
    
            @Test
            @DisplayName("Should handle referral decode failure gracefully")
            void testReferralDecodeFailure() {
                // Create buffer with invalid referral data
                byte[] testBuffer = new byte[20];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                bb.putShort((short) 0); // pathConsumed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       *     minLength}
       */
      public static int[] ensureCapacity(int[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top