Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 290 for existent (0.18 sec)

  1. 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, true) {
    		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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. 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 Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		},
    
    		// Test case - 8.
    		// Test case with non-existent source file.
    		// Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`.
    		// Expecting the response status code to http.StatusNotFound (404).
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    			copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + "non-existent-object"),
    			accessKey:        credentials.AccessKey,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // or mis-configured policy definitions or bindings.
      //
      // A policy is invalid if spec.paramKind refers to a non-existent Kind.
      // A binding is invalid if spec.paramRef.name refers to a non-existent resource.
      //
      // failurePolicy does not define how validations that evaluate to false are handled.
      //
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    						if dr == nil {
    							fmt.Fprintf(writer,
    								"WARNING: Proxy is stale; it references to non-existent destination rule %s.%s\n",
    								drName, drNamespace)
    						}
    						recordDestinationRules[newResourceID(drNamespace, drName)] = dr.DeepCopy()
    					}
    				}
    				if dr != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    func TestNonExistentBucketOperations(t *testing.T) {
    	ExecObjectLayerTest(t, testNonExistentBucketOperations)
    }
    
    // Tests validate that bucket operation on non-existent bucket fails.
    func testNonExistentBucketOperations(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	var opts ObjectOptions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  9. cmd/server_test.go

    }
    
    // TestHeader - Validates the error response for an attempt to fetch non-existent object.
    func (s *TestSuiteCommon) TestHeader(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// obtain HTTP request to fetch an object from non-existent bucket/object.
    	request, err := newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, "testObject"),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    		// Test case - 6.
    		// Valid object and bucket names but non-existent bucket.
    		{bucketName: "abc", objName: "def", uploadID: resN.UploadID, PartID: 1, expectedError: fmt.Errorf("%s", "Bucket not found: abc")},
    		// Test Case - 7.
    		// Existing bucket, but using a bucket on which NewMultipartUpload is not Initiated.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
Back to top