Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 914 for isValid (0.1 sec)

  1. tests/test_security_http_digest.py

        response = client.get(
            "/users/me", headers={"Authorization": "Other invalidauthorization"}
        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Invalid authentication credentials"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

          throw IllegalArgumentException("Network.fromNetworkHandle refusing to instantiate NETID_UNSET Network.")
        }
    
        val dns = AsyncDns.toDns(asyncDns)
    
        assertFailure {
          dns.lookup("google.invalid")
        }.apply {
          hasMessage("Network.fromNetworkHandle refusing to instantiate NETID_UNSET Network.")
          isInstanceOf(UnknownHostException::class)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 22 20:07:09 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/bytes/reader.go

    	switch whence {
    	case io.SeekStart:
    		abs = offset
    	case io.SeekCurrent:
    		abs = r.i + offset
    	case io.SeekEnd:
    		abs = int64(len(r.s)) + offset
    	default:
    		return 0, errors.New("bytes.Reader.Seek: invalid whence")
    	}
    	if abs < 0 {
    		return 0, errors.New("bytes.Reader.Seek: negative position")
    	}
    	r.i = abs
    	return abs, nil
    }
    
    // WriteTo implements the [io.WriterTo] interface.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

          "DATA", "HEADERS", "PRIORITY", "RST_STREAM", "SETTINGS", "PUSH_PROMISE", "PING", "GOAWAY",
          "WINDOW_UPDATE", "CONTINUATION",
        )
    
      /**
       * Lookup table for valid flags for DATA, HEADERS, CONTINUATION. Invalid combinations are
       * represented in binary.
       */
      private val FLAGS = arrayOfNulls<String>(0x40) // Highest bit flag is 0x20.
      private val BINARY =
        Array(256) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                    logger.warn("{} is invalid path.", path, response.getContentException());
                } else {
                    logger.warn("{} is invalid path. The response is {}", path, response.getContentAsString());
                }
            } catch (final IOException e) {
                logger.warn("{} is invalid path.", path, e);
            }
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses_test.go

    	testCases := []struct {
    		arg     string
    		es      endpointSet
    		success bool
    	}{
    		// Tests invalid inputs.
    		{
    			"...",
    			endpointSet{},
    			false,
    		},
    		// No range specified.
    		{
    			"{...}",
    			endpointSet{},
    			false,
    		},
    		// Invalid range.
    		{
    			"http://minio{2...3}/export/set{1...0}",
    			endpointSet{},
    			false,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                        return 1; // 1.1 > 1-sp
    
                    case LIST_ITEM:
                        return 1; // 1.1 > 1-1
    
                    default:
                        throw new IllegalStateException("invalid item: " + item.getClass());
                }
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. istioctl/pkg/multixds/gather.go

    	err := json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID)
    	if err != nil {
    		return pilotxds.IstioControlPlaneInstance{
    			Component: "INVALID",
    			ID:        "INVALID",
    			Info: istioversion.BuildInfo{
    				Version: "INVALID CP ID",
    			},
    		}
    	}
    	return cpID
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java

    import java.io.IOException;
    
    public class NdrException extends IOException {
    
        public static final String NO_NULL_REF = "ref pointer cannot be null";
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        public NdrException( String msg ) {
            super( msg );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  10. src/main/assemblies/files/service.bat

    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI
    
    rem Detect JVM version to figure out appropriate executable to use
    if not exist "%JAVA_HOME%\bin\java.exe" (
    echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Exiting...
    goto:eof
    )
    
    "%JAVA_HOME%\bin\java" -Xmx50M -version > nul 2>&1
    
    if errorlevel 1 (
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top