Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,248 for Invalid (0.04 sec)

  1. cmd/erasure-encode_test.go

    		}
    		for i, w := range writers {
    			if w == nil {
    				disks[i] = OfflineDisk
    			}
    		}
    		if err == nil {
    			if length := int64(len(data[test.offset:])); n != length {
    				t.Errorf("Test %d: invalid number of bytes written: got: #%d want #%d", i, n, length)
    			}
    			writers := make([]io.Writer, len(disks))
    			for i, disk := range disks {
    				if disk == nil {
    					continue
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    final String pathPrefix = ADMIN_SERVER + token;
                    if (!servletPath.startsWith(pathPrefix)) {
                        throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid access token.");
                    }
                    final String path;
                    final String value = servletPath.substring(pathPrefix.length());
                    if (!value.startsWith("/")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. README.md

    OkHttp is principled and avoids being overly configurable, especially when such configuration is
    to workaround a buggy server, test invalid scenarios or that contradict the relevant RFC.
    Other HTTP libraries exist that fill that gap allowing extensive customisation including potentially
    invalid requests.
    
    Example Limitations
    
    * Does not allow GET with a body.
    * Cache is not an interface with alternative implementations.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureCredentialStorage.java

                throw new IllegalArgumentException("Master password cannot be null or empty");
            }
            if (salt == null || salt.length != SALT_SIZE) {
                throw new IllegalArgumentException("Invalid salt");
            }
    
            this.salt = salt.clone();
            this.masterKey = deriveKey(masterPassword, this.salt);
    
            // Clear the master password after use
            Arrays.fill(masterPassword, '\0');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

            final int start = bufferIndex;
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("invalid session request wire format");
            }
            bufferIndex += calledName.readWireFormat(buffer, bufferIndex);
            bufferIndex += callingName.readWireFormat(buffer, bufferIndex);
            return bufferIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

        /**
         * Provides new {@link Transport} instance for given {@link RemoteRepository}, if possible.
         *
         * @throws TransportProviderException if passed in remote repository has invalid remote URL or unsupported protocol.
         */
        @Nonnull
        Transport transport(@Nonnull Session session, @Nonnull RemoteRepository repository);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            boolean result = filter.accept(mockDir, name);
    
            assertEquals(expected, result, "Filter should evaluate .txt suffix correctly");
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Invalid/null inputs: ensure filters can handle null name and dir.
         */
        @ParameterizedTest
        @DisplayName("null and empty names are handled explicitly")
        @NullAndEmptySource
        @ValueSource(strings = { " \t\n" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndValidCause() {
            // Test constructor with null message and valid cause
            Throwable cause = new IllegalArgumentException("Invalid argument");
            SearchEngineClientException exception = new SearchEngineClientException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

            return
          }
    
          val body = response.body
    
          if (!body.isEventStream()) {
            listener.onFailure(
              this,
              IllegalStateException("Invalid content-type: ${body.contentType()}"),
              response,
            )
            return
          }
    
          // This is a long-lived response. Cancel full-call timeouts.
          call?.timeout()?.cancel()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top