Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for validate0 (0.22 sec)

  1. src/cmd/internal/obj/riscv/obj.go

    	bEncoding = encoding{encode: encodeB, validate: validateB, length: 4}
    	uEncoding = encoding{encode: encodeU, validate: validateU, length: 4}
    	jEncoding = encoding{encode: encodeJ, validate: validateJ, length: 4}
    
    	// rawEncoding encodes a raw instruction byte sequence.
    	rawEncoding = encoding{encode: encodeRawIns, validate: validateRaw, length: 4}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	testCases := []struct {
    		name string
    		err  error
    	}{
    		// Validates input argument cannot be empty.
    		{
    			"",
    			errInvalidArgument,
    		},
    		// Validates if the directory does not exist and
    		// gets automatically created.
    		{
    			tmpDirName,
    			nil,
    		},
    		// Validates if the disk exists as file and returns error
    		// not a directory.
    		{
    			tmpFileName,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	return &clone
    }
    
    func (v *specStandardValidatorV3) forbidOldSelfValidations() *field.Path {
    	return v.uncorrelatableOldSelfValidationPath
    }
    
    // validate validates against OpenAPI Schema v3.
    func (v *specStandardValidatorV3) validate(schema *apiextensions.JSONSchemaProps, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    
    	if schema == nil {
    		return allErrs
    	}
    
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    	}
    	return madmin.BatchJobType("unknown")
    }
    
    // Validate validates the current job, used by 'save()' before
    // persisting the job request
    func (j BatchJobRequest) Validate(ctx context.Context, o ObjectLayer) error {
    	switch {
    	case j.Replicate != nil:
    		return j.Replicate.Validate(ctx, j, o)
    	case j.KeyRotate != nil:
    		return j.KeyRotate.Validate(ctx, j, o)
    	case j.Expire != nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  5. cmd/iam.go

    		entityKeysInStorage.Add(k)
    		return true
    	})
    
    	return entityKeysInStorage
    }
    
    // NormalizeLDAPMappingImport - validates the LDAP policy mappings. Keys in the
    // given map may not correspond to LDAP DNs - these keys are ignored.
    //
    // For validated mappings, it updates the key in the given map to be in
    // normalized form.
    func (sys *IAMSys) NormalizeLDAPMappingImport(ctx context.Context, isGroup bool,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. plugin/pkg/admission/resourcequota/admission_test.go

    	err = handler.Validate(context.TODO(), admission.NewAttributesRecord(newPod, nil, api.Kind("Pod").WithVersion("version"), newPod.Namespace, newPod.Name, corev1.Resource("pods").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil), nil)
    	if err == nil {
    		t.Errorf("Expected an error because the pod exceeded allowed quota")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/validation/validation.go

    }
    
    // ValidateValidatingAdmissionPolicyStatusUpdate validates update of status of validating admission policy
    func ValidateValidatingAdmissionPolicyStatusUpdate(newC, oldC *admissionregistration.ValidatingAdmissionPolicy) field.ErrorList {
    	return validateValidatingAdmissionPolicyStatus(&newC.Status, field.NewPath("status"))
    }
    
    // ValidateValidatingAdmissionPolicyBindingUpdate validates update of validating admission policy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Validate that a bucket can be created
    	bucket2 := getRandomBucketName()
    	err = minioClient.MakeBucket(ctx, bucket2, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server_test.go

    			}
    		}
    	} else {
    		t.Fatalf("%s: mismatch on peer list length: %d (wanted) != %d (got)", test.name, len(test.expectedPeerCerts), len(peerCerts))
    	}
    
    	if test.validate != nil {
    		if err := test.validate(connState); err != nil {
    			t.Fatalf("validate callback returned error: %s", err)
    		}
    	}
    
    	if write {
    		path := test.dataPath()
    		out, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_test.go

    			if _, err := client.Write([]byte("hello again\n")); err != nil {
    				t.Errorf("Client.Write failed: %s", err)
    				return
    			}
    		}
    
    		if test.validate != nil {
    			if err := test.validate(client.ConnectionState()); err != nil {
    				t.Errorf("validate callback returned error: %s", err)
    			}
    		}
    
    		// If the server sent us an alert after our last flight, give it a
    		// chance to arrive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top