Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for mybytes (0.11 sec)

  1. src/reflect/all_test.go

    	{V((**byte)(nil)), V((**byte)(nil))},
    	{V((**MyByte)(nil)), V((**MyByte)(nil))},
    	{V((chan byte)(nil)), V((chan byte)(nil))},
    	{V((chan MyByte)(nil)), V((chan MyByte)(nil))},
    	{V(([]byte)(nil)), V(([]byte)(nil))},
    	{V(([]MyByte)(nil)), V(([]MyByte)(nil))},
    	{V((map[int]byte)(nil)), V((map[int]byte)(nil))},
    	{V((map[int]MyByte)(nil)), V((map[int]MyByte)(nil))},
    	{V((map[byte]int)(nil)), V((map[byte]int)(nil))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    </pre>
    </li>
    
    <li>
    Converting a slice of bytes to a string type yields
    a string whose successive bytes are the elements of the slice.
    
    <pre>
    string([]byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'})   // "hellø"
    string([]byte{})                                     // ""
    string([]byte(nil))                                  // ""
    
    type MyBytes []byte
    string(MyBytes{'h', 'e', 'l', 'l', '\xc3', '\xb8'})  // "hellø"
    </pre>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformReplacerTest.groovy

                entry("Foo.class", INSTRUMENTED_CLASS)
                entry(MarkerResource.RESOURCE_NAME, MarkerResource.TRANSFORMED.asBytes())
    
                versionedEntry(currentJvmMajor, "Foo.class", INSTRUMENTED_VERSIONED_CLASS)
                versionedEntry(currentJvmMajor + 1, MarkerResource.RESOURCE_NAME, MarkerResource.NOT_TRANSFORMED.asBytes())
            }
    
            TransformedClassPath cp = classPath((original): transformed)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/runtime/tracetype.go

    	// The maximum number of bytes required to hold the encoded type.
    	maxBytes := 1 + 5*traceBytesPerNumber + len(typName)
    
    	// Estimate the size of this record. This
    	// bound is pretty loose, but avoids counting
    	// lots of varint sizes.
    	//
    	// Add 1 because we might also write a traceAllocFreeTypesBatch byte.
    	var flushed bool
    	w, flushed = w.ensure(1 + maxBytes)
    	if flushed {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. cmd/sftp-server_test.go

    			},
    		)
    	}
    }
    
    func (s *TestSuiteIAM) SFTPFailedPublicKeyAuthenticationInvalidKey(c *check) {
    	keyBytes, err := os.ReadFile("./testdata/invalid_test_key.pub")
    	if err != nil {
    		c.Fatalf("could not read test key file: %s", err)
    	}
    
    	testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes)
    	if err != nil {
    		c.Fatalf("could not parse test key file: %s", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/runtime/linkname.go

    //go:linkname write
    
    // used by cgo
    //go:linkname _cgo_panic_internal
    //go:linkname cgoAlwaysFalse
    //go:linkname cgoUse
    //go:linkname cgoCheckPointer
    //go:linkname cgoCheckResult
    //go:linkname cgoNoCallback
    //go:linkname gobytes
    //go:linkname gostringn
    
    // used in plugin
    //go:linkname doInit
    
    // used in math/bits
    //go:linkname overflowError
    //go:linkname divideError
    
    // used in tests
    //go:linkname extraMInUse
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 778 bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/iimport.go

    	case types.Int32, types.Uint32:
    		maxBytes = 4
    	default:
    		maxBytes = 8
    	}
    
    	return
    }
    
    func (r *importReader) mpint(x *big.Int, typ *types.Basic) {
    	signed, maxBytes := intSize(typ)
    
    	maxSmall := 256 - maxBytes
    	if signed {
    		maxSmall = 256 - 2*maxBytes
    	}
    	if maxBytes == 1 {
    		maxSmall = 256
    	}
    
    	n, _ := r.declReader.ReadByte()
    	if uint(n) < maxSmall {
    		v := int64(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    	if authenticationInfo.ClientCA != nil {
    		if caBytes := authenticationInfo.ClientCA.CurrentCABundleContent(); len(caBytes) > 0 {
    			data["client-ca-file"] = string(caBytes)
    		}
    	}
    
    	if authenticationInfo.RequestHeaderCA == nil {
    		return data, nil
    	}
    
    	if caBytes := authenticationInfo.RequestHeaderCA.CurrentCABundleContent(); len(caBytes) > 0 {
    		var err error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

         * If some versioned directories of the JAR haven't been processed, then these directories must contain presiding (overriding) resource with the same name but with
         * {@code NOT_TRANSFORMED.asBytes()} as body.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/crypto/des/block.go

    		out[i] = left | right
    		last = out[i]
    	}
    	return
    }
    
    // creates 16 56-bit subkeys from the original key.
    func (c *desCipher) generateSubkeys(keyBytes []byte) {
    	feistelBoxOnce.Do(initFeistelBox)
    
    	// apply PC1 permutation to key
    	key := byteorder.BeUint64(keyBytes)
    	permutedKey := permuteBlock(key, permutedChoice1[:])
    
    	// rotate halves of permuted key according to the rotation schedule
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top