Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for 6g (0.02 sec)

  1. test/fixedbugs/issue9355.go

    	if err != nil {
    		fmt.Println(err)
    		os.Exit(1)
    	}
    	f.Close()
    
    	out := run("go", "tool", "compile", "-p=p", "-o", f.Name(), "-S", "a.go")
    	os.Remove(f.Name())
    
    	// 6g/8g print the offset as dec, but 5g/9g print the offset as hex.
    	patterns := []string{
    		`rel 0\+\d t=R_ADDR p\.x\+8\r?\n`,       // y = &x.b
    		`rel 0\+\d t=R_ADDR p\.x\+(28|1c)\r?\n`, // z = &x.d.q
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. test/fixedbugs/bug120.go

    	// that ends up computing 1e23-8388608 + 8388608 = 1e23,
    	// which rounds back to 1e23-8388608.
    	// The correct answer, of course, would be "1e23+8388608" = 1e23+8388608.
    	// This is not going to be correct until 6g has multiprecision floating point.
    	// A simpler case is "1e23+1", which should also round to 1e23+8388608.
    	Test{1e23 + 8.388608e6, "1e23+8.388608e6", "1.0000000000000001e+23"},
    	Test{1e23 + 1, "1e23+1", "1.0000000000000001e+23"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 1.8K bytes
    - Viewed (0)
  3. test/fixedbugs/bug286.go

    		println("test3 called", callee)
    		error_ = true
    	}
    }
    
    func main() {
    	x := new(T)
    	test1(x)
    	test2(x)
    	test3(x)
    	if error_ {
    		panic("wrong method called")
    	}
    }
    
    /*
    6g bug286.go && 6l bug286.6 && 6.out
    test2 called g
    panic: wrong method called
    
    panic PC=0x24e040
    runtime.panic+0x7c /home/gri/go1/src/pkg/runtime/proc.c:1012
    	runtime.panic(0x0, 0x24e0a0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  4. test/abi/idata.go

    	// Use exact fmt formatting if in float64 range (common case):
    	// proceed if f doesn't underflow to 0 or overflow to inf.
    	if x, _ := f.Float64(); f.Sign() == 0 == (x == 0) && !math.IsInf(x, 0) {
    		return fmt.Sprintf("%.6g", x)
    	}
    
    	return "OOPS"
    }
    
    func (x complexVal) String() string { return fmt.Sprintf("(%s + %si)", x.re, x.im) }
    
    func newFloat() *big.Float { return new(big.Float).SetPrec(prec) }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 05 20:11:08 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. internal/kms/secret-key_test.go

    	},
    	{
    		KeyID:      "my-key",
    		Plaintext:  "UnPWsZgVI+T4L9WGNzFlP1PsP1Z6hn2Fx8ISeZfDGnA=",
    		Ciphertext: `{"aead":"ChaCha20Poly1305","iv":"r4+yfiVbVIYR0Z2I9Fq+6g==","nonce":"2YpwGwE59GcVraI3","bytes":"k/svMglOU7/Kgwv73heG38NWW575XLcFp3SaxQHDMjJGYyRI3Fiygu2OeutGPXNL"}`,
    		Context:    Context{"key": "value"},
    	},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. test/fixedbugs/bug285.go

    	m1["foo"] = 42 // this should work: "foo" is assignment-compatible with I1
    
    	m2[new(T2)] = 42 // this should work: *T2 is assignment-compatible with I2
    }
    
    /*
    6g -e bug286.go
    bug286.go:23: invalid map index false - need type B
    bug286.go:80: invalid map index z - need type interface { }
    bug286.go:83: invalid map index new(struct { x int }) - need type interface { }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.9K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/JavaTestProjectGenerator.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. test/fixedbugs/bug284.go

    	c1 = c0
    	c1 = c1
    	c1 = C1(c2) // ERROR "cannot|invalid"
    	c2 = C2(c0) // ERROR "cannot|invalid"
    	c2 = C2(c1) // ERROR "cannot|invalid"
    	c2 = c2
    
    	// internal compiler error (6g and gccgo)
    	type T interface{}
    	var _ T = 17 // assignment compatible
    	_ = T(17)    // internal compiler error even though assignment compatible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:59 UTC 2012
    - 3.5K bytes
    - Viewed (0)
  9. misc/cgo/gmp/gmp.go

    parser and processed by godoc—but it is not compiled directly by gc.
    Instead, a separate tool, cgo, processes it to produce three output
    files.  The first two, 6g.go and 6c.c, are a Go source file for 6g and
    a C source file for 6c; both compile as part of the named package
    (gmp, in this example).  The third, gcc.c, is a C source file for gcc;
    it compiles into a shared object (.so) that is dynamically linked into
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/DefaultMemoryManagerTest.groovy

            windowsMemoryInfo.freeMemory =  MemoryAmount.of('7g').bytes
            windowsMemoryInfo.totalVirtual =  MemoryAmount.of('12g').bytes
            windowsMemoryInfo.freeVirtual =  MemoryAmount.of('6g').bytes
            def memoryManager = newMemoryManager(windowsMemoryInfo)
    
            and:
            def holder = Mock(MemoryHolder)
            memoryManager.addMemoryHolder(holder)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 23:56:19 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top