Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 212 for b1 (0.02 sec)

  1. src/cmd/go/testdata/script/build_issue6480.txt

    		d *= 10
    	}
    	for nano%int64(d) == 0 && d < 2*time.Second {
    		d *= 2
    	}
    	return t.Truncate(d)
    }
    
    func main() {
    	var t1 time.Time
    	b1, err := os.ReadFile(os.Args[1])
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	if err := json.Unmarshal(b1, &t1); err != nil  {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    
    	var t2 time.Time
    	b2, err := os.ReadFile(os.Args[2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/cycles5.go

    }
    
    type UnpairedVersion interface {
    	Version
    }
    
    var _ Constraint = UnpairedVersion(nil)
    
    
    // derived test case from issue #21804
    
    type (
    	_ interface{ m(B1) }
    	A1 interface{ a(D1) }
    	B1 interface{ A1 }
    	C1 interface{ B1 }
    	D1 interface{ C1 }
    )
    
    var _ A1 = C1(nil)
    
    
    // derived test case from issue #22701
    
    func F(x I4) interface{} {
    	return x.Method()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/test/util/yml/parts_test.go

    			parts := yml.SplitString(c.doc)
    			g := NewWithT(t)
    			g.Expect(parts).To(Equal(expected))
    		})
    	}
    }
    
    func TestSplitWithNestedDocument(t *testing.T) {
    	doc := `
    b
        b1
        ---
        b2
    `
    	expected := []string{
    		`b
        b1
        ---
        b2`,
    	}
    
    	g := NewWithT(t)
    	parts := yml.SplitString(doc)
    	g.Expect(parts).To(Equal(expected))
    }
    
    func TestJoinRemovesEmptyParts(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. test/alias2.go

    func (A4) m() {} // ERROR "cannot define new methods on non-local type|may not define methods on non-local type"
    
    type B1 = struct{}
    
    func (B1) m() {} // ERROR "invalid receiver type"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/crypto/tls/testdata/Server-TLSv12-RSA-RC4

    00000240  df d3 20 64 38 92 24 3a  00 bc cf 9c 7d b7 40 20  |.. d8.$:....}.@ |
    00000250  01 5f aa d3 16 61 09 a2  76 fd 13 c3 cc e1 0c 5c  |._...a..v......\|
    00000260  ee b1 87 82 f1 6c 04 ed  73 bb b3 43 77 8d 0c 1c  |.....l..s..Cw...|
    00000270  f1 0f a1 d8 40 83 61 c9  4c 72 2b 9d ae db 46 06  |******@****.***+...F.|
    00000280  06 4d f4 c1 b3 3e c0 d1  bd 42 d4 db fe 3d 13 60  |.M...>...B...=.`|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/internal/types/testdata/examples/types.go

    // Valid and invalid variations.
    type B0 any
    type B1[_ any] any
    type B2[_, _ any] any
    
    func _[T1 B0]() {}
    func _[T1 B1[T1]]() {}
    func _[T1 B2 /* ERRORx `cannot use generic type .* without instantiation` */ ]() {}
    
    func _[T1, T2 B0]() {}
    func _[T1 B1[T1], T2 B1[T2]]() {}
    func _[T1, T2 B2 /* ERRORx `cannot use generic type .* without instantiation` */ ]() {}
    
    func _[T1 B0, T2 B1[T2]]() {} // here B1 applies to T2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcIdentityIntegrationTest.groovy

            createDirs("buildSrc", "buildSrc/b1", "buildSrc/b2")
            file("buildSrc/settings.gradle") << """
                $settings
                include 'b1', 'b2'
            """
    
            file("buildSrc/build.gradle") << """
                allprojects { apply plugin: 'java' }
                dependencies { implementation project(':b1') }
                project(':b1') { dependencies { implementation project(':b2') } }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. src/crypto/tls/testdata/Client-TLSv13-ECDSA

    000000e0  20 16 52 fb 12 04 17 48  7d 65 49 50 c5 b8 e6 9c  | .R....H}eIP....|
    000000f0  be f6 58 09 ea 8b 94 51  93 cf 0d 7a 76 88 78 cb  |..X....Q...zv.x.|
    00000100  37 83 43 fa 37 d5 5b 3f  10 1d 07 b1 bb 9b ac 3a  |7.C.7.[?.......:|
    00000110  43 e0 62 b1 fe 64 43 83  53 49 96 9e 81 1c 05 64  |C.b..dC.SI.....d|
    00000120  40 2a 1b 98 5f ed 8d 47  52 2c db 84 8b 6a 1e 3b  |@*.._..GR,...j.;|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/crypto/tls/testdata/Server-TLSv13-X25519

    00000070  ff f6 84 af c4 cf c2 ed  90 99 5f 58 cb 3b 74 14  |.........._X.;t.|
    00000080  03 03 00 01 01 17 03 03  00 17 4f 52 70 18 74 9c  |..........ORp.t.|
    00000090  40 4e b0 5a 7a bc aa b0  b9 22 70 b1 90 9c 04 ef  |@N.Zz...."p.....|
    000000a0  e7 17 03 03 02 6d a8 7e  5a 4a 5f 3d 97 f2 74 93  |.....m.~ZJ_=..t.|
    000000b0  ce 75 f5 be 0f 2e c4 58  d6 91 4d fb 9f 80 56 3c  |.u.....X..M...V<|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:14:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/reproduciblebuilds_test.go

    		payload, err := os.ReadFile(fn)
    		if err != nil {
    			t.Fatalf("failed to read executable '%s': %v", fn, err)
    		}
    		return payload
    	}
    
    	b1 := readBytes(scenarios[0].libpath)
    	b2 := readBytes(scenarios[1].libpath)
    	if !bytes.Equal(b1, b2) {
    		t.Fatalf("concurrent and serial builds produced different output")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top