Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for BINARY (1.05 sec)

  1. src/cmd/asm/internal/asm/expr_test.go

    	// Unary
    	{"-0", 0, true},
    	{"~0", -1, true},
    	{"~0*0", 0, true},
    	{"+3", 3, true},
    	{"-3", -3, true},
    	{"-9223372036854775808", -9223372036854775808, true}, // min int64
    	// Binary
    	{"3+4", 3 + 4, true},
    	{"3-4", 3 - 4, true},
    	{"2|5", 2 | 5, true},
    	{"3^4", 3 ^ 4, true},
    	{"3*4", 3 * 4, true},
    	{"14/4", 14 / 4, true},
    	{"3<<4", 3 << 4, true},
    	{"48>>3", 48 >> 3, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/testdata/issue18676/main.go

    // The bug happened like this:
    //  1. The main binary adds an itab for *json.UnsupportedValueError / error
    //     (concrete type / interface type).  This itab goes in hash bucket 0x111.
    //  2. The plugin adds that same itab again.  That makes a cycle in the itab
    //     chain rooted at hash bucket 0x111.
    //  3. The main binary then asks for the itab for *dynamodbstreamsevt.Event /
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/cache_test.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cache
    
    import (
    	"bytes"
    	"encoding/binary"
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    )
    
    func init() {
    	verify = false // even if GODEBUG is set
    }
    
    func TestBasic(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/iexport.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Indexed package export.
    //
    // The indexed export data format is an evolution of the previous
    // binary export data format. Its chief contribution is introducing an
    // index table, which allows efficient random access of individual
    // declarations and inline function bodies. In turn, this allows
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:40:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/ssa_test.go

    		args = append(args, srcs...)
    		out, err := testenv.Command(t, gotool, args...).CombinedOutput()
    		if err != nil || len(out) != 0 {
    			t.Fatalf("Build failed: %v\n%s\n", err, out)
    		}
    
    		// Now we have a test binary. Run it with all the tests as subtests of this one.
    		for _, test := range tests {
    			test := test
    			if flag == ",softfloat" && !test.usesFloat {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue23555.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Test that we can have two identical cgo packages in a single binary.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import (
    	_ "cmd/cgo/internal/test/issue23555a"
    	_ "cmd/cgo/internal/test/issue23555b"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 403 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/_builtin/coverage.go

    // NOTE: If you change this file you must run "go generate"
    // in cmd/compile/internal/typecheck
    // to update builtin.go. This is not done automatically
    // to avoid depending on having a working compiler binary.
    
    //go:build ignore
    
    package coverage
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 16:59:48 UTC 2024
    - 437 bytes
    - Viewed (0)
  8. src/cmd/go/internal/gover/local.go

    // license that can be found in the LICENSE file.
    
    package gover
    
    import (
    	"internal/goversion"
    	"runtime"
    	"strconv"
    )
    
    // TestVersion is initialized in the go command test binary
    // to be $TESTGO_VERSION, to allow tests to override the
    // go command's idea of its own version as returned by Local.
    var TestVersion string
    
    // Local returns the local Go version, the one implemented by this go command.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:20:23 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. src/cmd/cover/pkgname_test.go

    	var tests = []struct {
    		fileName, pkgName string
    	}{
    		{"", ""},
    		{"///", ""},
    		{"fmt", ""}, // No Go file, improper form.
    		{"fmt/foo.go", "fmt"},
    		{"encoding/binary/foo.go", "binary"},
    		{"encoding/binary/////foo.go", "binary"},
    	}
    	var tf templateFile
    	for _, test := range tests {
    		tf.Name = test.fileName
    		td := templateData{
    			Files: []*templateFile{&tf},
    		}
    		got := td.PackageName()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 30 03:58:01 UTC 2020
    - 733 bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/cover.go

    // cases where a user runs "go test -cover" on a package that has
    // functions but no tests; in the normal case (package has tests)
    // the percentage is written by the test binary when it runs.
    func WriteCoveragePercent(b *Builder, runAct *Action, mf string, w io.Writer) error {
    	dir := filepath.Dir(mf)
    	output, cerr := b.CovData(runAct, "percent", "-i", dir)
    	if cerr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top