Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,132 for valid (0.04 sec)

  1. operator/pkg/object/objects.go

    // Valid checks returns true if Kind of K8sObject is not empty.
    func (o *K8sObject) Valid() bool {
    	return o.Kind != ""
    }
    
    // FullName returns namespace/name of K8s object
    func (o *K8sObject) FullName() string {
    	return fmt.Sprintf("%s/%s", o.Namespace, o.Name)
    }
    
    // Equal returns true if o and other are both valid and equal to each other.
    func (o *K8sObject) Equal(other *K8sObject) bool {
    	if o == nil {
    		return other == nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  2. src/crypto/ed25519/ed25519_test.go

    func TestSignVerify(t *testing.T) {
    	var zero zeroReader
    	public, private, _ := GenerateKey(zero)
    
    	message := []byte("test message")
    	sig := Sign(private, message)
    	if !Verify(public, message, sig) {
    		t.Errorf("valid signature rejected")
    	}
    
    	wrongMessage := []byte("wrong message")
    	if Verify(public, wrongMessage, sig) {
    		t.Errorf("signature of different message accepted")
    	}
    }
    
    func TestSignVerifyHashed(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/status/server_test.go

    		},
    		// A valid input with empty probing path, which happens when HTTPGetAction.Path is not specified.
    		{
    			probe: `{"/app-health/hello-world/readyz": {"httpGet": {"path": "/hello/sunnyvale", "port": 8080}},
    "/app-health/business/livez": {"httpGet": {"port": 9090}}}`,
    		},
    		// A valid input without any prober info.
    		{
    			probe: `{}`,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/idna/idna9.0.0.go

    		} else {
    			cat = mapped
    		}
    	case disallowedSTD3Valid:
    		if p.useSTD3Rules {
    			cat = disallowed
    		} else {
    			cat = valid
    		}
    	case deviation:
    		if !p.transitional {
    			cat = valid
    		}
    	case validNV8, validXV8:
    		// TODO: handle V2008
    		cat = valid
    	}
    	return cat
    }
    
    func validateFromPunycode(p *Profile, s string) error {
    	if !norm.NFC.IsNormalString(s) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/quantize-numeric-verify.mlir

      %5 = "tfl.depthwise_conv_2d"(%2, %4, %cst) {depth_multiplier = 4 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "VALID", stride_h = 4 : i32, stride_w = 5 : i32} : (tensor<1x224x224x3xf32>, tensor<32x3x3x3xf32>, tensor<32xf32>) -> tensor<1x112x112x32xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. pkg/serviceaccount/jwt_test.go

    			ExpectedGroups:   []string{"system:serviceaccounts", "system:serviceaccounts:test"},
    		},
    		"valid key, invalid issuer (rsa)": {
    			Token:       badIssuerToken,
    			Client:      nil,
    			Keys:        []interface{}{getPublicKey(rsaPublicKey)},
    			ExpectedErr: false,
    			ExpectedOK:  false,
    		},
    		"valid key, different issuer (rsa)": {
    			Token:            differentIssuerToken,
    			Client:           nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

         * This method is intended to be used for user supplied java homes.
         *
         * @param javaHome - location of your jdk or jre (jdk is safer), cannot be null
         * @return jvm for given java home
         * @throws org.gradle.internal.jvm.JavaHomeException when supplied javaHome does not seem to be a valid jdk or jre location
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/discovery/token/token.go

    	}
    
    	// If no TLS root CA pinning was specified, we're done
    	if pubKeyPins.Empty() {
    		klog.V(1).Infof("[discovery] Cluster info signature and contents are valid and no TLS pinning was specified, will use API Server %q", endpoint)
    		return insecureConfig, nil
    	}
    
    	// Load and validate the cluster CA from the insecure kubeconfig
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param bytes byte array representing an IPv4 address (should be of length 4)
       * @return {@link Inet4Address} corresponding to the supplied byte array
       * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created
       */
      private static Inet4Address getInet4Address(byte[] bytes) {
        checkArgument(
            bytes.length == 4,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy

            failure.assertHasFileName("Build file '$buildFile.path'")
            failure.assertHasLineNumber(lines + 5)
            failureHasCause("""Type BadRuleSource is not a valid rule source:
    - Method select(java.lang.String) is not a valid rule method: First parameter of a rule method must be of type org.gradle.api.artifacts.ComponentSelection""")
        }
    
        def "produces sensible error when rule source throws an exception"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top