Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 394 for setTypes (0.37 sec)

  1. src/crypto/internal/nistec/p384.go

    func (p *P384Point) SetGenerator() *P384Point {
    	p.x.SetBytes([]byte{0xaa, 0x87, 0xca, 0x22, 0xbe, 0x8b, 0x5, 0x37, 0x8e, 0xb1, 0xc7, 0x1e, 0xf3, 0x20, 0xad, 0x74, 0x6e, 0x1d, 0x3b, 0x62, 0x8b, 0xa7, 0x9b, 0x98, 0x59, 0xf7, 0x41, 0xe0, 0x82, 0x54, 0x2a, 0x38, 0x55, 0x2, 0xf2, 0x5d, 0xbf, 0x55, 0x29, 0x6c, 0x3a, 0x54, 0x5e, 0x38, 0x72, 0x76, 0xa, 0xb7})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 18K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        for (auto [call_arg, body_arg] :
             llvm::zip(call.getOperation()->getOperands(),
                       f.getBody().front().getArguments())) {
          if (call_arg.getType() != body_arg.getType()) {
            body_arg.setType(call_arg.getType());
            changed = true;
          }
        }
        if (changed) {
          rewriter.finalizeOpModification(f);
          return success();
        } else {
          rewriter.cancelOpModification(f);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/crypto/ecdh/nist.go

    	}
    	if boring.Enabled {
    		bk, err := boring.NewPublicKeyECDH(c.name, k.publicKey)
    		if err != nil {
    			return nil, err
    		}
    		k.boring = bk
    	} else {
    		// SetBytes also checks that the point is on the curve.
    		if _, err := c.newPoint().SetBytes(key); err != nil {
    			return nil, err
    		}
    	}
    	return k, nil
    }
    
    func (c *nistCurve[Point]) ecdh(local *PrivateKey, remote *PublicKey) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/convert.go

    		// if res != nil {
    		//    res = res.type
    		// }
    
    		// Grab its parts.
    		itab := ir.NewUnaryExpr(base.Pos, ir.OITAB, c)
    		itab.SetType(types.Types[types.TUINTPTR].PtrTo())
    		itab.SetTypecheck(1)
    		data := ir.NewUnaryExpr(n.Pos(), ir.OIDATA, c)
    		data.SetType(types.Types[types.TUINT8].PtrTo()) // Type is generic pointer - we're just passing it through.
    		data.SetTypecheck(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. src/crypto/elliptic/nistec_p256.go

    	}
    	scalar := k.FillBytes(make([]byte, 32))
    	inverse, err := nistec.P256OrdInverse(scalar)
    	if err != nil {
    		panic("crypto/elliptic: nistec rejected normalized scalar")
    	}
    	return new(big.Int).SetBytes(inverse)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:03 UTC 2022
    - 696 bytes
    - Viewed (0)
  6. src/go/doc/testdata/testing.0.golden

    	func (c *B) Logf(format string, args ...any)
    
    	// ResetTimer sets the elapsed benchmark time to zero. It does not ...
    	func (b *B) ResetTimer()
    
    	// SetBytes records the number of bytes processed in a single ...
    	func (b *B) SetBytes(n int64)
    
    	// StartTimer starts timing a test. This function is called ...
    	func (b *B) StartTimer()
    
    	// StopTimer stops timing a test. This can be used to pause the ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/DefaultResourceFilter.java

        }
    
        public DefaultResourceFilter(ResourceFilterAppliesTo appliesTo, ResourceFilterType type, boolean recursive, ResourceFilterMatcher matcher) {
            this();
            setAppliesTo(appliesTo);
            setType(type);
            setRecursive(recursive);
            setMatcher(matcher);
        }
    
        @Override
        public ResourceFilterAppliesTo getAppliesTo() {
            return appliesTo;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

         */
        public void testSet() throws Exception {
            final Method m1 = SetType.class.getMethod("setOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
            assertThat(GenericsUtil.getElementTypeOfSet(t1), is(sameClass(String.class)));
    
            final Method m2 = SetType.class.getMethod("setOfClass");
            final Type t2 = m2.getGenericReturnType();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/crypto/elliptic/elliptic.go

    	if len(data) != 1+2*byteLen {
    		return nil, nil
    	}
    	if data[0] != 4 { // uncompressed form
    		return nil, nil
    	}
    	p := curve.Params().P
    	x = new(big.Int).SetBytes(data[1 : 1+byteLen])
    	y = new(big.Int).SetBytes(data[1+byteLen:])
    	if x.Cmp(p) >= 0 || y.Cmp(p) >= 0 {
    		return nil, nil
    	}
    	if !curve.IsOnCurve(x, y) {
    		return nil, nil
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. src/math/big/int_test.go

    	i := 0
    	for i < len(z) && z[i] == 0 {
    		i++
    	}
    
    	return z[i:]
    }
    
    func checkMul(a, b []byte) bool {
    	var x, y, z1 Int
    	x.SetBytes(a)
    	y.SetBytes(b)
    	z1.Mul(&x, &y)
    
    	var z2 Int
    	z2.SetBytes(mulBytes(a, b))
    
    	return z1.Cmp(&z2) == 0
    }
    
    func TestMul(t *testing.T) {
    	if err := quick.Check(checkMul, nil); err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top