Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for Binary1 (0.13 sec)

  1. pkg/wasm/cache_test.go

    	gotNumRequest := 0
    	binary1 := append(wasmHeader, 1)
    	binary2 := append(wasmHeader, 2)
    
    	// Create a test server which returns 0 for the first two calls, and returns 1 for the following calls.
    	ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if gotNumRequest <= 1 {
    			w.Write(binary1)
    		} else {
    			w.Write(binary2)
    		}
    		gotNumRequest++
    	}))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. src/encoding/binary/binary.go

    	)
    }
    
    func (bigEndian) String() string { return "BigEndian" }
    
    func (bigEndian) GoString() string { return "binary.BigEndian" }
    
    func (nativeEndian) String() string { return "NativeEndian" }
    
    func (nativeEndian) GoString() string { return "binary.NativeEndian" }
    
    // Read reads structured binary data from r into data.
    // Data must be a pointer to a fixed-size value or a slice
    // of fixed-size values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

    // (unlike the rest), since this is the primary use case for such ops and
    // verification of shapes and broadcasts is desired.
    // RUN: tf-opt "-xla-legalize-tf=legalize-chlo=true" -canonicalize %s | FileCheck %s
    // RUN: tf-opt "-xla-legalize-tf=legalize-chlo=false" %s | FileCheck --check-prefix CHLO %s
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/objfile.go

    func (n *RefName) Sym() SymRef {
    	return SymRef{binary.LittleEndian.Uint32(n[:]), binary.LittleEndian.Uint32(n[4:])}
    }
    func (n *RefName) Name(r *Reader) string {
    	len := binary.LittleEndian.Uint32(n[8:])
    	off := binary.LittleEndian.Uint32(n[12:])
    	return r.StringAt(off, len)
    }
    
    func (n *RefName) SetSym(x SymRef) {
    	binary.LittleEndian.PutUint32(n[:], x.PkgIdx)
    	binary.LittleEndian.PutUint32(n[4:], x.SymIdx)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPlugin.java

                    task.dependsOn(binary.getInstallDirectory());
                    // TODO: Honor changes to build directory
                    task.setOutputDir(project.getLayout().getBuildDirectory().dir("test-results/" + binary.getNames().getDirName()).get().getAsFile());
                });
                binary.getRunTask().set(testTask);
    
                configureTestSuiteWithTestedComponentWhenAvailable(project, testComponent, binary);
            });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/internal/trace/generation.go

    			// Read the frame data.
    			pc, err := binary.ReadUvarint(r)
    			if err != nil {
    				return fmt.Errorf("reading frame %d's PC for stack %d: %w", i+1, id, err)
    			}
    			funcID, err := binary.ReadUvarint(r)
    			if err != nil {
    				return fmt.Errorf("reading frame %d's funcID for stack %d: %w", i+1, id, err)
    			}
    			fileID, err := binary.ReadUvarint(r)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.Task.getSourceCompatibility(): Is not binary compatible." to listOf("Method return type has changed", "Method is now abstract"),
                    removed("Method", "Task.setSourceCompatibility(java.lang.String)"),
                )
            }
        }
    
        @Test
        fun `should automatically accept binary incompatibilities for upgraded properties`() {
            checkBinaryCompatible(
                v1 = {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. src/debug/buildinfo/buildinfo.go

    	ptrSize := int(data[14])
    	if data[15]&2 != 0 {
    		vers, data = decodeString(data[32:])
    		mod, data = decodeString(data)
    	} else {
    		bigEndian := data[15] != 0
    		var bo binary.ByteOrder
    		if bigEndian {
    			bo = binary.BigEndian
    		} else {
    			bo = binary.LittleEndian
    		}
    		var readPtr func([]byte) uint64
    		if ptrSize == 4 {
    			readPtr = func(b []byte) uint64 { return uint64(bo.Uint32(b)) }
    		} else if ptrSize == 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/buildid.go

    // for the final link of the gofmt binary and comparing it against the
    // already-installed gofmt binary. But computing the action ID for the link
    // means knowing the content ID of main.a, which we did not keep.
    // To sidestep this problem, each binary actually stores an expanded build ID:
    //
    //	actionID(binary)/actionID(main.a)/contentID(main.a)/contentID(binary)
    //
    // (Note that this can be viewed equivalently as:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s")
    
            val (buildResult, failure) = try {
                runner.build()!! to null
            } catch (ex: UnexpectedBuildFailure) {
                ex.buildResult!! to ex
            }
    
            println(buildResult.output)
    
            val richReportFile = inputBuildDir.resolve("binary-compatibility/build/japi/japi.html").apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top