Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 308 for tenc (0.2 sec)

  1. src/encoding/gob/type_test.go

    	type T2 struct{ A int }
    	c := make(chan bool)
    	const N = 10
    	for i := 0; i < N; i++ {
    		go func() {
    			p := new(T2)
    			Register(p)
    			b := new(bytes.Buffer)
    			enc := NewEncoder(b)
    			err := enc.Encode(p)
    			if err != nil {
    				t.Error("encoder fail:", err)
    			}
    			dec := NewDecoder(b)
    			err = dec.Decode(p)
    			if err != nil {
    				t.Error("decoder fail:", err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/evex.go

    	b2 byte // [NNNbbZRS]
    
    	// Associated instruction opcode.
    	opcode byte
    }
    
    // newEVEXBits creates evexBits object from enc bytes at z position.
    func newEVEXBits(z int, enc *opBytes) evexBits {
    	return evexBits{
    		b1:     enc[z+0],
    		b2:     enc[z+1],
    		opcode: enc[z+2],
    	}
    }
    
    // P returns EVEX.pp value.
    func (evex evexBits) P() byte { return (evex.b1 & evexP) >> 0 }
    
    // L returns EVEX.L'L value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  3. cmd/xl-storage-format_test.go

    				xl.AddVersion(fi)
    			}
    			// Encode all. This is used for benchmarking.
    			enc, err := xl.AppendTo(nil)
    			if err != nil {
    				b.Fatal(err)
    			}
    			b.Logf("Serialized size: %d bytes", len(enc))
    			rng := rand.New(rand.NewSource(0))
    			dump := make([]byte, len(enc))
    			b.Run("UpdateObjectVersion", func(b *testing.B) {
    				b.SetBytes(int64(size))
    				b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/crypto/rsa/equal_test.go

    	}
    	if !private.Equal(private) {
    		t.Errorf("private key is not equal to itself: %v", private)
    	}
    
    	enc, err := x509.MarshalPKCS8PrivateKey(private)
    	if err != nil {
    		t.Fatal(err)
    	}
    	decoded, err := x509.ParsePKCS8PrivateKey(enc)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !public.Equal(decoded.(crypto.Signer).Public()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 05 18:05:10 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/go/proxy_test.go

    			return
    		}
    		path = fmt.Sprintf("%s/@v/%s.info", enc, encVers)
    	}
    
    	// Module proxy request: /mod/path/@v/version[.suffix]
    	i := strings.Index(path, "/@v/")
    	if i < 0 {
    		http.NotFound(w, r)
    		return
    	}
    	enc, file := path[:i], path[i+len("/@v/"):]
    	path, err := module.UnescapePath(enc)
    	if err != nil {
    		if testing.Verbose() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 09:56:24 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. src/crypto/aes/aes_test.go

    L:
    	for i, tt := range keyTests {
    		enc := make([]uint32, len(tt.enc))
    		var dec []uint32
    		if tt.dec != nil {
    			dec = make([]uint32, len(tt.dec))
    		}
    		// This test could only test Go version of expandKey because asm
    		// version might use different memory layout for expanded keys
    		// This is OK because we don't expose expanded keys to the outside
    		expandKeyGo(tt.key, enc, dec)
    		for j, v := range enc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/IoActionsTest.groovy

            given:
            def file = tmp.file("foo.txt")
            def enc = "utf-8"
    
            when:
            writeTextFile(file, enc, new Action() {
                void execute(writer) {
                    writer.append("bar⌘")
                }
            })
    
            then:
            file.getText(enc) == "bar⌘"
        }
    
        def "can write text file with default encoding"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/dist/testjson.go

    }
    
    func synthesizeSkipEvent(enc *json.Encoder, pkg, msg string) {
    	type event struct {
    		Time    time.Time
    		Action  string
    		Package string
    		Output  string `json:",omitempty"`
    	}
    	ev := event{Time: time.Now(), Package: pkg, Action: "start"}
    	enc.Encode(ev)
    	ev.Action = "output"
    	ev.Output = msg
    	enc.Encode(ev)
    	ev.Action = "skip"
    	ev.Output = ""
    	enc.Encode(ev)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/kotlinDsl/multiProjectBuild/kotlin/domain/build.gradle.kts

    plugins {
        `java-library`
    }
    
    dependencies {
        api("javax.measure:unit-api:1.0")
        implementation("tec.units:unit-ri:1.0.3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 133 bytes
    - Viewed (0)
  10. platforms/software/resources-gcs/src/test/groovy/org/gradle/internal/resource/transport/gcp/gcs/ResourceMapperTest.groovy

            def contentType = 'application/octet-stream'
            def storageObject = new StorageObject()
            storageObject.setUpdated(lastModified)
            storageObject.setMd5Hash(md5hash)
            storageObject.setSize(BigInteger.TEN)
            storageObject.setContentType(contentType)
            storageObject.setEtag(Integer.toString(16))
    
            when:
            def metaData = ResourceMapper.toExternalResourceMetaData(uri, storageObject)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top