Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,672 for found (0.65 sec)

  1. cmd/storage-rest_test.go

    	}
    
    	testCases := []struct {
    		volumeName string
    		objectName string
    		expectErr  bool
    	}{
    		{"foo", "myobject", false},
    		// file not found not returned
    		{"foo", "myobject", false},
    		// file not found not returned
    		{"foo", "yourobject", false},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. operator/cmd/mesh/test-util_test.go

    	got, found, err := tpath.Find(o.UnstructuredObject().UnstructuredContent(), util.PathFromString("metadata.labels"))
    	if err != nil {
    		log.Errorf("bad path: %s", err)
    		return false
    	}
    	if !found {
    		return false
    	}
    	return got.(map[string]any)[label] == value
    }
    
    // mustGetService returns the service with the given name or fails if it's not found in objs.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_additional_responses/test_tutorial003.py

        assert response.json() == {"id": "foo", "value": "there goes my hero"}
    
    
    def test_path_operation_not_found():
        response = client.get("/items/bar")
        assert response.status_code == 404, response.text
        assert response.json() == {"message": "Item not found"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    			foundNotEmpty++
    		default:
    			otherFound++
    		}
    	}
    	found = found + foundNotEmpty + otherFound
    	return found < notFound && found > 0
    }
    
    // Object is considered dangling/corrupted if and only
    // if total disks - a combination of corrupted and missing
    // files is lesser than number of data blocks.
    func isObjectDangling(metaArr []FileInfo, errs []error, dataErrs []error) (validMeta FileInfo, ok bool) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. internal/config/config.go

    		return nil, Errorf("invalid number of arguments %s", s)
    	}
    	found := SubSystems.Contains(subSystemValue[0])
    	if !found {
    		// Check for sub-prefix only if the input value is only a
    		// single value, this rejects invalid inputs if any.
    		found = !SubSystems.FuncMatch(strings.HasPrefix, subSystemValue[0]).IsEmpty() && len(subSystemValue) == 1
    	}
    	if !found {
    		return nil, Errorf("unknown sub-system %s", s)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Resources.java

        URL url = loader.getResource(resourceName);
        checkArgument(url != null, "resource %s not found.", resourceName);
        return url;
      }
    
      /**
       * Given a {@code resourceName} that is relative to {@code contextClass}, returns a {@code URL}
       * pointing to the named resource.
       *
       * @throws IllegalArgumentException if the resource is not found
       */
      @CanIgnoreReturnValue // being used to check if a resource exists
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    				t.Errorf("Test %d: %s: Expected the MaxUploads to be %d, but instead found it to be %d", i+1, instanceType, expectedResult.MaxUploads, actualResult.MaxUploads)
    			}
    			// Asserting Prefix.
    			if actualResult.Prefix != expectedResult.Prefix {
    				t.Errorf("Test %d: %s: Expected Prefix to be \"%s\", but instead found it to be \"%s\"", i+1, instanceType, expectedResult.Prefix, actualResult.Prefix)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtStatus.java

        public static final int NT_STATUS_OBJECT_NAME_NOT_FOUND = 0xC0000034;
        public static final int NT_STATUS_OBJECT_NAME_COLLISION = 0xC0000035;
        public static final int NT_STATUS_PORT_DISCONNECTED = 0xC0000037;
        public static final int NT_STATUS_OBJECT_PATH_INVALID = 0xC0000039;
        public static final int NT_STATUS_OBJECT_PATH_NOT_FOUND = 0xC000003a;
        public static final int NT_STATUS_OBJECT_PATH_SYNTAX_BAD = 0xC000003b;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  9. errors.go

    	// ErrRegistered registered
    	ErrRegistered = errors.New("registered")
    	// ErrInvalidField invalid field
    	ErrInvalidField = errors.New("invalid field")
    	// ErrEmptySlice empty slice found
    	ErrEmptySlice = errors.New("empty slice found")
    	// ErrDryRunModeUnsupported dry run mode unsupported
    	ErrDryRunModeUnsupported = errors.New("dry run mode unsupported")
    	// ErrInvalidDB invalid db
    	ErrInvalidDB = errors.New("invalid db")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtStatus.java

        public static final int NT_STATUS_OBJECT_NAME_NOT_FOUND = 0xC0000034;
        public static final int NT_STATUS_OBJECT_NAME_COLLISION = 0xC0000035;
        public static final int NT_STATUS_PORT_DISCONNECTED = 0xC0000037;
        public static final int NT_STATUS_OBJECT_PATH_INVALID = 0xC0000039;
        public static final int NT_STATUS_OBJECT_PATH_NOT_FOUND = 0xC000003a;
        public static final int NT_STATUS_OBJECT_PATH_SYNTAX_BAD = 0xC000003b;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.1K bytes
    - Viewed (0)
Back to top