Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 279 for setTypes (0.17 sec)

  1. src/crypto/ecdsa/ecdsa_legacy.go

    }
    
    func verifyLegacy(pub *PublicKey, hash []byte, sig []byte) bool {
    	rBytes, sBytes, err := parseSignature(sig)
    	if err != nil {
    		return false
    	}
    	r, s := new(big.Int).SetBytes(rBytes), new(big.Int).SetBytes(sBytes)
    
    	c := pub.Curve
    	N := c.Params().N
    
    	if r.Sign() <= 0 || s.Sign() <= 0 {
    		return false
    	}
    	if r.Cmp(N) >= 0 || s.Cmp(N) >= 0 {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

              while_op.getInput().getTypes(), while_op.getOutput().getTypes(),
              while_op.getBody().getArgumentTypes());
          return PropagateShapeToRegions(compatible_types,
                                         {&while_op.getCond(), &while_op.getBody()},
                                         max_iterations);
        }
        return PropagateShapeToRegions(while_op.getInput().getTypes(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/walk.go

    	}
    	ptr = ir.NewUnaryExpr(base.Pos, ir.OSPTR, n)
    	if n.Type().IsString() {
    		ptr.SetType(types.Types[types.TUINT8].PtrTo())
    	} else {
    		ptr.SetType(n.Type().Elem().PtrTo())
    	}
    	ptr.SetTypecheck(1)
    	length = ir.NewUnaryExpr(base.Pos, ir.OLEN, n)
    	length.SetType(types.Types[types.TINT])
    	length.SetTypecheck(1)
    	return ptr, length
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

            pluginDescriptor.setArtifactId("artifactId");
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
    
            Parameter parameter = new Parameter();
            parameter.setType("java.lang.String[]");
            parameter.setName("toAddresses");
    
            parameter.setRequired(true);
    
            PluginParameterException exception =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. src/runtime/type.go

    		return name{}
    	}
    	base := uintptr(ptrInModule)
    	for md := &firstmoduledata; md != nil; md = md.next {
    		if base >= md.types && base < md.etypes {
    			res := md.types + uintptr(off)
    			if res > md.etypes {
    				println("runtime: nameOff", hex(off), "out of range", hex(md.types), "-", hex(md.etypes))
    				throw("runtime: name offset out of range")
    			}
    			return name{Bytes: (*byte)(unsafe.Pointer(res))}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/runtime/plugin.go

    			inRange(pmd.types, pmd.etypes, md.types, md.etypes) {
    			println("plugin: new module data overlaps with previous moduledata")
    			println("\tpmd.text-etext=", hex(pmd.text), "-", hex(pmd.etext))
    			println("\tpmd.bss-ebss=", hex(pmd.bss), "-", hex(pmd.ebss))
    			println("\tpmd.data-edata=", hex(pmd.data), "-", hex(pmd.edata))
    			println("\tpmd.types-etypes=", hex(pmd.types), "-", hex(pmd.etypes))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy

        }
    
        interface TestCacheEntry {
            String getKey()
            String getMd5Hash()
            String getText()
            void setText(String text)
            byte[] getBytes()
            void setBytes(byte[] bytes)
            void copyBytesTo(TestFile file)
        }
    
        private class TestFileCacheEntry implements TestCacheEntry {
    
            String key
            TestFile file
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/crypto/ecdsa/ecdsa.go

    	Q, err := c.pointFromAffine(pub.X, pub.Y)
    	if err != nil {
    		return false
    	}
    
    	// SEC 1, Version 2.0, Section 4.1.4
    
    	r, err := bigmod.NewNat().SetBytes(rBytes, c.N)
    	if err != nil || r.IsZero() == 1 {
    		return false
    	}
    	s, err := bigmod.NewNat().SetBytes(sBytes, c.N)
    	if err != nil || s.IsZero() == 1 {
    		return false
    	}
    
    	e := bigmod.NewNat()
    	hashToNat(c, e, hash)
    
    	// w = s⁻¹
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/encoding/hex/hex_test.go

    		b.Run(fmt.Sprintf("%v", size), func(b *testing.B) {
    			b.SetBytes(int64(size))
    			for i := 0; i < b.N; i++ {
    				Decode(sink, src)
    			}
    		})
    	}
    }
    
    func BenchmarkDecodeString(b *testing.B) {
    	for _, size := range []int{256, 1024, 4096, 16384} {
    		src := strings.Repeat("2b744faa", size/8)
    		b.Run(fmt.Sprintf("%v", size), func(b *testing.B) {
    			b.SetBytes(int64(size))
    			for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/typecheck.go

    			n.SetType(nil)
    			return n
    		}
    		if !n.Y.Type().IsBoolean() {
    			base.Errorf("invalid operation: %v (operator %v not defined on %s)", n, n.Op(), typekind(n.Y.Type()))
    			n.SetType(nil)
    			return n
    		}
    		l, r, t := tcArith(n, n.Op(), n.X, n.Y)
    		n.X, n.Y = l, r
    		n.SetType(t)
    		return n
    
    	// shift operators
    	case ir.OLSH, ir.ORSH:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top