- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 651 for existent (0.28 sec)
-
cmd/bucket-policy-handlers_test.go
expectedRespStatus: http.StatusBadRequest, }, // Test case - 8. // non-existent bucket is used. // writing BucketPolicy should fail. // should result in 404 StatusNotFound { bucketName: "non-existent-bucket", bucketPolicyReader: bytes.NewReader([]byte(fmt.Sprintf(bucketPolicyTemplate, "non-existent-bucket", "non-existent-bucket"))),
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 32.7K bytes - Viewed (0) -
cmd/xl-storage_test.go
} } } func TestXLStorageIsDirEmpty(t *testing.T) { tmp := t.TempDir() // Should give false on non-existent directory. dir1 := slashpath.Join(tmp, "non-existent-directory") if isDirEmpty(dir1) { t.Error("expected false for non-existent directory, got true") } // Should give false for not-a-directory. dir2 := slashpath.Join(tmp, "file")
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 66.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt
import org.jetbrains.kotlin.fir.symbols.lazyResolveToPhase import org.jetbrains.kotlin.fir.types.typeApproximator import org.jetbrains.kotlin.load.java.JvmAbi import org.jetbrains.kotlin.load.kotlin.NON_EXISTENT_CLASS_NAME import org.jetbrains.kotlin.load.kotlin.header.KotlinClassHeader import org.jetbrains.kotlin.metadata.jvm.deserialization.JvmProtoBufUtil import org.jetbrains.kotlin.metadata.jvm.serialization.JvmStringTable
Plain Text - Registered: Fri Mar 29 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 09:19:07 GMT 2024 - 10K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer.py
assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_incorrect_token(): response = client.get("/items", headers={"Authorization": "Non-existent testtoken"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_token():
Python - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.3K bytes - Viewed (0) -
cmd/os-readdir_test.go
"fmt" "os" "path" "path/filepath" "runtime" "sort" "testing" ) // Test to check for different input arguments. func TestReadDirFail(t *testing.T) { // Check non existent directory. if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound { t.Fatalf("expected = %s, got: %s", errFileNotFound, err) } file := path.Join(os.TempDir(), "issue")
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 7.5K bytes - Viewed (0) -
cni/pkg/util/util.go
fileModified, errChan := make(chan struct{}), make(chan error) go watchFiles(watcher, fileModified, errChan) for _, path := range paths { if !file.Exists(path) { log.Infof("file watcher skipping watch on non-existent path: %v", path) continue } if err := watcher.Add(path); err != nil { if closeErr := watcher.Close(); closeErr != nil { err = fmt.Errorf("%s: %w", closeErr.Error(), err) } return nil, err }
Go - Registered: Wed Jan 24 22:53:09 GMT 2024 - Last Modified: Thu Jul 20 18:34:43 GMT 2023 - 3.6K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_incorrect_token(): response = client.get("/items", headers={"Authorization": "Non-existent testtoken"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_token():
Python - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.4K bytes - Viewed (0) -
cmd/os-reliable.go
switch { case isSysErrNotDir(err) && !osIsNotExist(err): // Windows can have both isSysErrNotDir(err) and osIsNotExist(err) returning // true if the source file path contains an non-existent directory. In that case, // we want to return errFileNotFound instead, which will honored in subsequent // switch cases return errFileAccessDenied case isSysErrPathNotFound(err):
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 5.4K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
fileModified, errChan := make(chan struct{}), make(chan error) go watchFiles(watcher, fileModified, errChan) for _, path := range paths { if !file.Exists(path) { log.Infof("file watcher skipping watch on non-existent path: %v", path) continue } if err := watcher.Add(path); err != nil { if closeErr := watcher.Close(); closeErr != nil { err = fmt.Errorf("%s: %w", closeErr.Error(), err) } return nil, err }
Go - Registered: Wed Mar 27 22:53:09 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 3.6K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
TEST_F(CApiExperimentalFunctionTest, EmptyGraphRemoveNonExistentFunction) { TF_GraphRemoveFunction(func_graph_, "wrong_name", s_); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("Tried to remove non-existent function 'wrong_name'."), string(TF_Message(s_))); } TEST_F(CApiExperimentalFunctionTest, GraphRemoveNonExistentFunction) { TF_Function* funcs[1]; DefineFunction(func_name_, &func_);
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1)