Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for mybytes (0.18 sec)

  1. 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)
  2. test/typeparam/issue23536.go

    // converted to a string.  Same for slice of runes.
    
    package main
    
    type MyByte byte
    
    type MyRune rune
    
    func f[T []MyByte](x T) string {
    	return string(x)
    }
    
    func g[T []MyRune](x T) string {
    	return string(x)
    }
    
    func main() {
    	var y []MyByte
    	_ = f(y)
    	_ = string(y)
    
    	var z []MyRune
    	_ = g(z)
    	_ = string(z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 556 bytes
    - Viewed (0)
  3. test/fixedbugs/issue23814.go

    	// 4
    	_ = []byte("hellø") // []byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'}
    	_ = []byte("")      // []byte{}
    
    	_ = bytes("hellø") // []byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'}
    
    	_ = []myByte("world!")      // []myByte{'w', 'o', 'r', 'l', 'd', '!'}
    	_ = []myByte(myString("🌏")) // []myByte{'\xf0', '\x9f', '\x8c', '\x8f'}
    
    	// 5
    	_ = []rune(myString("白鵬翔")) // []rune{0x767d, 0x9d6c, 0x7fd4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 15 00:06:24 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. test/fixedbugs/issue23536.go

    // Test case where a slice of a user-defined byte type (not uint8 or byte) is
    // converted to a string.  Same for slice of runes.
    
    package main
    
    type MyByte byte
    
    type MyRune rune
    
    func main() {
    	var y []MyByte
    	_ = string(y)
    
    	var z []MyRune
    	_ = string(z)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 07 18:40:16 UTC 2022
    - 428 bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            }
            else {
                byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset);
                SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);
                System.arraycopy(fnBytes, 0, dst, dstIndex, fnBytes.length);
                dstIndex += fnBytes.length;
            }
            return dstIndex - start;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/codec_check.go

    	}
    	for _, et := range externalTypes {
    		typeMeta := TypeMeta{
    			Kind:       et.Kind,
    			APIVersion: et.GroupVersion().String(),
    		}
    		exBytes, err := json.Marshal(&typeMeta)
    		if err != nil {
    			return err
    		}
    		obj, err := Decode(c, exBytes)
    		if err != nil {
    			return fmt.Errorf("external type %s not interpretable: %v", et, err)
    		}
    		if reflect.TypeOf(obj) != reflect.TypeOf(internalType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top