Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 212 for b1 (0.24 sec)

  1. src/internal/coverage/cformat/fmt_test.go

    		fm.AddUnit("lit.go", "f3", true, u, 0)
    	}
    
    	var b1, b2, b3, b4 strings.Builder
    	if err := fm.EmitTextual(&b1); err != nil {
    		t.Fatalf("EmitTextual returned %v", err)
    	}
    	wantText := strings.TrimSpace(`
    mode: atomic
    p.go:10.0,11.0 2 0
    p.go:15.0,11.0 1 1
    q.go:20.0,25.0 3 0
    q.go:30.0,31.0 2 1
    q.go:33.0,40.0 7 2
    lit.go:99.0,100.0 1 0`)
    	gotText := strings.TrimSpace(b1.String())
    	if wantText != gotText {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_import_toolchain.txt

    # if needed to process newly-reolved imports.
    
    env TESTGO_VERSION=go1.21.0
    env TESTGO_VERSION_SWITCH=switch
    
    cp go.mod go.mod.orig
    
    # tidy reports needing 1.22.0 for b1
    env GOTOOLCHAIN=local
    ! go mod tidy
    stderr '^go: example imports\n\texample.net/b: module ./b1 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
    env GOTOOLCHAIN=auto
    go mod tidy
    
    cmp stderr tidy-stderr.want
    cmp go.mod go.mod.tidy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue50729.go

    // Copyright 2022 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 p
    
    // version 1
    var x1 T1[B1]
    
    type T1[_ any] struct{}
    type A1 T1[B1]
    type B1 = T1[A1]
    
    // version 2
    type T2[_ any] struct{}
    type A2 T2[B2]
    type B2 = T2[A2]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 340 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_downup_indirect.txt

    )
    
    replace (
    	example.com/b v0.1.0 => ./b1
    	example.com/b v0.2.0 => ./b2
    	example.com/c v0.1.0 => ./c1
    	example.com/c v0.2.0 => ./c2
    	example.com/d v0.1.0 => ./d
    	example.com/d v0.2.0 => ./d
    )
    -- go.mod.down2 --
    module example.com/a
    
    go 1.15
    
    require example.com/c v0.1.0
    
    replace (
    	example.com/b v0.1.0 => ./b1
    	example.com/b v0.2.0 => ./b2
    	example.com/c v0.1.0 => ./c1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/testdata/asan_unsafe_fail1.go

    	a := 1
    	b := 2
    	c := add(a, b)
    	d := a + b
    	fmt.Println(c, d)
    }
    
    //go:noinline
    func add(a1, b1 int) int {
    	// The arguments.
    	// When -asan is enabled, unsafe.Pointer(&a1) conversion is escaping.
    	var p *int = (*int)(unsafe.Add(unsafe.Pointer(&a1), 1*unsafe.Sizeof(int(1))))
    	*p = 10 // BOOM
    	return a1 + b1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 528 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_issue65363.txt

    replace (
    	example.net/a v0.1.0 => ./a
    	example.net/b v0.1.0 => ./b1
    	example.net/b v0.2.0 => ./b2
    	example.net/c v0.1.0 => ./c1
    	example.net/c v0.2.0 => ./c2
    	example.net/d v0.1.0 => ./d
    )
    
    require (
    	example.net/b v0.1.0
    )
    -- a/go.mod --
    module example.net/a
    
    go 1.18
    
    require example.net/b v0.2.0
    -- a/a.go --
    package a
    
    import _ "example.net/b"
    -- b1/go.mod --
    module example.net/b
    
    go 1.16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/internal/chacha8rand/rand_test.go

    }
    
    func TestBlockGeneric(t *testing.T) {
    	var b1, b2 [32]uint64
    	s := seed // byte seed
    	seed := [4]uint64{
    		binary.LittleEndian.Uint64(s[0*8:]),
    		binary.LittleEndian.Uint64(s[1*8:]),
    		binary.LittleEndian.Uint64(s[2*8:]),
    		binary.LittleEndian.Uint64(s[3*8:]),
    	}
    
    	Block(&seed, &b1, 4)
    	Block_generic(&seed, &b2, 4)
    	if !slices.Equal(b1[:], b2[:]) {
    		var out bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  8. src/crypto/internal/edwards25519/field/_asm/fe_amd64_asm.go

    	addMul64(r0, 19, a4, b1)
    
    	// r1 = a0×b1 + a1×b0 + 19×(a2×b4 + a3×b3 + a4×b2)
    	r1 := uint128{"r1", GP64(), GP64()}
    	mul64(r1, 1, a0, b1)
    	addMul64(r1, 1, a1, b0)
    	addMul64(r1, 19, a2, b4)
    	addMul64(r1, 19, a3, b3)
    	addMul64(r1, 19, a4, b2)
    
    	// r2 = a0×b2 + a1×b1 + a2×b0 + 19×(a3×b4 + a4×b3)
    	r2 := uint128{"r2", GP64(), GP64()}
    	mul64(r2, 1, a0, b2)
    	addMul64(r2, 1, a1, b1)
    	addMul64(r2, 1, a2, b0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue32680b.go

    // Copyright 2019 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 p
    
    func hashBytesRaw(b0, b1, b2, b3, b7 byte) uint64 {
    	return (uint64(b0) | uint64(b1)<<8 | uint64(b2)<<16 | uint64(b3)<<24)
    }
    
    func doStuff(data []byte) uint64 {
    	return hashBytesRaw(data[0], data[1], data[2], data[3], data[7])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 412 bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            List<SynonymItem> itemList = new ArrayList<>();
            itemList.add(new SynonymItem(1, new String[] { "a1" }, new String[] { "A1" }));
            itemList.add(new SynonymItem(2, new String[] { "b1", "b2" }, new String[] { "B1" }));
            itemList.add(new SynonymItem(3, new String[] { "c1" }, new String[] { "C1", "C2" }));
            itemList.add(new SynonymItem(4, new String[] { "x1", "X1" }, new String[] { "x1", "X1" }));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top