Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 446 for b1 (0.14 sec)

  1. test/fixedbugs/issue21120.dir/main.go

    package main
    
    import (
    	"fmt"
    	"os"
    
    	"./a"
    	"./b"
    )
    
    func main() {
    	// Make sure the reflect information for a.S is in the executable.
    	_ = a.V()
    
    	b1 := b.F1()
    	b2 := b.F2()
    	if b1 != b2 {
    		fmt.Printf("%q (from b.F1()) != %q (from b.F2())\n", b1, b2)
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:05:00 UTC 2017
    - 432 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_wild.txt

    require example.net/a v0.1.0
    
    replace (
    	example.net/a v0.1.0 => ./a10
    	example.net/a v0.1.1 => ./a11
    	example.net/a v0.2.0 => ./a20
    	example.net/a v0.2.1 => ./a20
    	example.net/b v0.1.0 => ./b1
    	example.net/b v0.1.1 => ./b1
    	example.net/b v0.2.0 => ./b2
    )
    -- example.go --
    package example
    
    import _ "example.net/a"
    
    -- a10/go.mod --
    module example.net/a
    
    go 1.16
    -- a10/a.go --
    package a
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. test/fixedbugs/bug149.go

    // compile
    
    // Copyright 2009 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 main
    
    func main() {
    	var b1 []byte;
    	s1 := string(b1);
    	println(len(s1));  // prints 0
    
    	b2 := ([]byte)(nil);
    	s2 := string(b2);
    	println(len(s2));  // prints 0
    
    	s3 := string(([]byte)(nil));  // does not compile (literal substitution of b2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 506 bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/script/mod_get_downadd_indirect.txt

    require example.com/b v0.2.0
    
    replace (
    	example.com/b v0.1.0 => ./b1
    	example.com/b v0.2.0 => ./b2
    	example.com/c v0.1.0 => ./c
    	example.com/d v0.1.0 => ./d
    	example.com/d v0.2.0 => ./d
    )
    -- a.go --
    package a
    
    import _ "example.com/b"
    
    -- b1/go.mod --
    module example.com/b
    
    go 1.15
    
    require example.com/c v0.1.0
    -- b1/b.go --
    package b
    
    import _ "example.com/c"
    
    -- b2/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/MoreObjectsTest.java

        assertSame(s1, s2);
    
        Long n1 = 42L;
        Long n2 = MoreObjects.firstNonNull(null, n1);
        assertSame(n1, n2);
    
        Boolean b1 = true;
        Boolean b2 = MoreObjects.firstNonNull(b1, null);
        assertSame(b1, b2);
      }
    
      public void testFirstNonNull_throwsNullPointerException() {
        try {
          MoreObjects.firstNonNull(null, null);
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:24:55 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top