Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for hasddd (0.32 sec)

  1. src/cmd/compile/internal/typecheck/typecheck.go

    			return false
    		}
    	}
    	return true
    }
    
    func hasddd(params []*types.Field) bool {
    	// TODO(mdempsky): Simply check the last param.
    	for _, tl := range params {
    		if tl.IsDDD() {
    			return true
    		}
    	}
    
    	return false
    }
    
    // typecheck assignment: type list = expression list
    func typecheckaste(op ir.Op, call ir.Node, isddd bool, params []*types.Field, nl ir.Nodes, desc func() string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/rsa.go

    		return C._goboringcrypto_RSA_sign_pss_mgf1(key, &outLen, base(out), C.size_t(len(out)),
    			base(hashed), C.size_t(len(hashed)), md, nil, C.int(saltLen))
    	}) == 0 {
    		return nil, fail("RSA_sign_pss_mgf1")
    	}
    
    	return out[:outLen], nil
    }
    
    func VerifyRSAPSS(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte, saltLen int) error {
    	md := cryptoHashToMD(h)
    	if md == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/crd_finder_test.go

    	}
    	_, err := finder.HasCRD(schema.GroupKind{Group: "", Kind: "Pod"})
    	if err != nil {
    		t.Fatalf("Failed to call HasCRD: %v", err)
    	}
    	if called != 1 {
    		t.Fatalf("First call should call the getter, has called = %v", called)
    	}
    
    	_, err = finder.HasCRD(schema.GroupKind{Group: "", Kind: "Pod"})
    	if err != nil {
    		t.Fatalf("Failed to call HasCRD: %v", err)
    	}
    	if called != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/crypto/ecdsa/ecdsa_test.go

    	priv, _ := GenerateKey(c, rand.Reader)
    
    	hashed := []byte("testing")
    	r, s, err := Sign(rand.Reader, priv, hashed)
    	if err != nil {
    		t.Errorf("error signing: %s", err)
    		return
    	}
    
    	if !Verify(&priv.PublicKey, hashed, r, s) {
    		t.Errorf("Verify failed")
    	}
    
    	hashed[0] ^= 0xff
    	if Verify(&priv.PublicKey, hashed, r, s) {
    		t.Errorf("Verify always works!")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/anames.go

    	"FTST",
    	"FUCOM",
    	"FUCOMI",
    	"FUCOMIP",
    	"FUCOMP",
    	"FUCOMPP",
    	"FXAM",
    	"FXCHD",
    	"FXRSTOR",
    	"FXRSTOR64",
    	"FXSAVE",
    	"FXSAVE64",
    	"FXTRACT",
    	"FYL2X",
    	"FYL2XP1",
    	"HADDPD",
    	"HADDPS",
    	"HLT",
    	"HSUBPD",
    	"HSUBPS",
    	"ICEBP",
    	"IDIVB",
    	"IDIVL",
    	"IDIVQ",
    	"IDIVW",
    	"IMUL3L",
    	"IMUL3Q",
    	"IMUL3W",
    	"IMULB",
    	"IMULL",
    	"IMULQ",
    	"IMULW",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  6. src/crypto/rsa/pkcs1v15.go

    	k := pub.Size()
    	if k < len(prefix)+len(hashed)+2+8+1 {
    		return nil, ErrMessageTooLong
    	}
    	em := make([]byte, k)
    	em[1] = 1
    	for i := 2; i < k-len(prefix)-len(hashed)-1; i++ {
    		em[i] = 0xff
    	}
    	copy(em[k-len(prefix)-len(hashed):], prefix)
    	copy(em[k-len(hashed):], hashed)
    	return em, nil
    }
    
    // VerifyPKCS1v15 verifies an RSA PKCS #1 v1.5 signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/crypto/rsa/pss_test.go

    	}
    
    	hash := sha1.New()
    	hash.Write(msg)
    	hashed := hash.Sum(nil)
    
    	encoded, err := EMSAPSSEncode(hashed, 1023, salt, sha1.New())
    	if err != nil {
    		t.Errorf("Error from emsaPSSEncode: %s\n", err)
    	}
    	if !bytes.Equal(encoded, expected) {
    		t.Errorf("Bad encoding. got %x, want %x", encoded, expected)
    	}
    
    	if err = EMSAPSSVerify(hashed, encoded, 1023, len(salt), sha1.New()); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/FileHasherStatistics.java

    import java.text.MessageFormat;
    import java.util.concurrent.atomic.AtomicLong;
    
    public interface FileHasherStatistics {
        /**
         * Number of files hashed.
         */
        long getHashedFileCount();
    
        /**
         * Amount of bytes hashed.
         */
        long getHashedContentLength();
    
        @ServiceScope(Scope.Global.class)
        class Collector {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_overlay.txt

    {
    	"Replace": {
    		"nomod/go.mod": "../../../overlay/carve-nomod-go-mod"
    	}
    }
    -- carve/overlay_uncarve_module.json --
    {
    	"Replace": {
    		"hasmod/go.mod": ""
    	}
    }
    -- carve/hasmod/a.go --
    package hasmod
    -- carve/hasmod/go.mod --
    module carve/hasmod
    -- carve/nomod/b.go --
    package nomod
    -- $WORK/overlay/carve-nomod-go-mod --
    module carve/nomod
    -- carve2/go.mod --
    module carve2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  10. pkg/volume/util/attach_limit_test.go

    	}
    }
    
    func getDriverHash(driverName string) string {
    	charsFromDriverName := driverName[:23]
    	hash := sha1.New()
    	hash.Write([]byte(driverName))
    	hashed := hex.EncodeToString(hash.Sum(nil))
    	hashed = hashed[:16]
    	return CSIAttachLimitPrefix + charsFromDriverName + hashed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 05 16:29:00 UTC 2018
    - 1.7K bytes
    - Viewed (0)
Back to top