Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for mybytes (0.19 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. src/encoding/xml/marshal_test.go

    	},
    	{
    		Value:         &Data{Bytes: []byte{}, Custom: MyBytes{}, Attr: []byte{}},
    		ExpectXML:     `<Data Attr=""><Bytes></Bytes><Custom></Custom></Data>`,
    		UnmarshalOnly: true,
    	},
    
    	// Check that []byte works, including named []byte types.
    	{
    		Value:     &Data{Bytes: []byte("ab"), Custom: MyBytes("cd"), Attr: []byte{'v'}},
    		ExpectXML: `<Data Attr="v"><Bytes>ab</Bytes><Custom>cd</Custom></Data>`,
    	},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  3. src/crypto/sha256/sha256block_arm64.s

    	VLD1	(R2), [V28.S4, V29.S4, V30.S4, V31.S4]     //load 64*4bytes K constant(K0-K63)
    
    blockloop:
    
    	VLD1.P	16(R1), [V4.B16]                            // load 16bytes message
    	VLD1.P	16(R1), [V5.B16]                            // load 16bytes message
    	VLD1.P	16(R1), [V6.B16]                            // load 16bytes message
    	VLD1.P	16(R1), [V7.B16]                            // load 16bytes message
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/typeparams.go

    type myByte1 []byte
    type myByte2 []byte
    func _[T interface{ []byte | myByte1 | myByte2 }] (x T, i, j, k int) { var _ T = x[i:j:k] }
    func _[T interface{ []byte | myByte1 | []int }] (x T, i, j, k int) { var _ T = x /* ERROR "no core type" */ [i:j:k] }
    
    func _[T interface{ []byte | myByte1 | myByte2 | string }] (x T, i, j, k int) { var _ T = x[i:j] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:56:58 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  5. 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)
  6. guava/src/com/google/common/primitives/Bytes.java

    /**
     * Static utility methods pertaining to {@code byte} primitives, that are not already found in
     * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>.
     * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes}
     * and {@link UnsignedBytes}.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Bytes.java

    /**
     * Static utility methods pertaining to {@code byte} primitives, that are not already found in
     * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>.
     * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes}
     * and {@link UnsignedBytes}.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. pkg/test/util/file/file.go

    package file
    
    import (
    	"archive/tar"
    	"bytes"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    
    	"github.com/mitchellh/go-homedir"
    
    	"istio.io/istio/pkg/test"
    )
    
    // AsBytes is a simple wrapper around os.ReadFile provided for completeness.
    func AsBytes(filename string) ([]byte, error) {
    	return os.ReadFile(filename)
    }
    
    // AsBytesOrFail calls AsBytes and fails the test if any errors occurred.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

        // Trick the JVM to prevent it from using the hash function non-polymorphically
        result ^= Hashing.crc32().hashInt(reps).asBytes()[0];
        result ^= Hashing.adler32().hashInt(reps).asBytes()[0];
        for (int i = 0; i < reps; i++) {
          result ^= hashFunction.hashBytes(testBytes).asBytes()[0];
        }
        return result;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 13 16:19:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. cmd/prune-junit-xml/prunexml.go

    					testcase.SkipMessage.Message = head + "[...clipped...]" + tail
    				}
    			}
    			if testcase.Failure != nil {
    				if len(testcase.Failure.Contents) > maxBytes {
    					fmt.Printf("clipping failure message in test case : %s\n", testcase.Name)
    					head := testcase.Failure.Contents[:maxBytes/2]
    					tail := testcase.Failure.Contents[len(testcase.Failure.Contents)-maxBytes/2:]
    					testcase.Failure.Contents = head + "[...clipped...]" + tail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 12:26:00 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top