Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for Pad1 (0.05 sec)

  1. src/sync/atomic/atomic_test.go

    	}
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(4))
    	N := int32(1e3)
    	if testing.Short() {
    		N = int32(1e2)
    	}
    	c := make(chan bool, 2)
    	type Data struct {
    		signal int32
    		pad1   [128]int8
    		data1  int32
    		pad2   [128]int8
    		data2  float32
    	}
    	var X Data
    	for p := int32(0); p < 2; p++ {
    		go func(p int32) {
    			for i := int32(1); i < N; i++ {
    				if (i+p)%2 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    	Flags   uint8
    	Hops    uint8
    	Ifindex int32
    }
    
    type NdUseroptmsg struct {
    	Family    uint8
    	Pad1      uint8
    	Opts_len  uint16
    	Ifindex   int32
    	Icmp_type uint8
    	Icmp_code uint8
    	Pad2      uint16
    	Pad3      uint32
    }
    
    type NdMsg struct {
    	Family  uint8
    	Pad1    uint8
    	Pad2    uint16
    	Ifindex int32
    	State   uint16
    	Flags   uint8
    	Type    uint8
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/prepare-quantize.mlir

      %2 = "tfl.pad"(%0, %arg2) : (tensor<2x1x3xf32>, tensor<3x2xi32>) -> tensor<?xf32>
      func.return %1, %2 : tensor<?xf32>, tensor<?xf32>
    
    // CHECK: %[[dq:.*]] = "tfl.dequantize"(%arg0)
    // CHECK: %[[pad1:.*]] = "tfl.pad"(%arg1, %arg2)
    // CHECK: %[[pad2:.*]] = "tfl.pad"(%[[dq]], %arg2)
    // CHECK: %[[q2:.*]] = "tfl.quantize"(%[[pad2]])
    // CHECK: %[[dq2:.*]] = "tfl.dequantize"(%[[q2]])
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue8606b.go

    	for _, test := range []struct {
    		a, b interface{}
    	}{
    		{SI{s: bad1, i: 1}, SI{s: bad2, i: 2}},
    		{SS{s: bad1, t: "a"}, SS{s: bad2, t: "aa"}},
    		{SS{s: "a", t: bad1}, SS{s: "b", t: bad2}},
    		// This one would panic because the length of both strings match, and we check
    		// the body of the bad strings before the body of the good strings.
    		//{SS{s: bad1, t: "a"}, SS{s: bad2, t: "b"}},
    	} {
    		if test.a == test.b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/go/parser/testdata/issue11377.src

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test case for go.dev/issue/11377: Better synchronization of
    // parser after certain syntax errors.
    
    package p
    
    func bad1() {
        if f()) /* ERROR "expected ';', found '\)'" */ {
            return
        }
    }
    
    // There shouldn't be any errors down below.
    
    func F1() {}
    func F2() {}
    func F3() {}
    func F4() {}
    func F5() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 542 bytes
    - Viewed (0)
  6. test/fixedbugs/issue9006.go

    package main
    
    type T1 struct {
    	X int
    }
    
    func NewT1(x int) T1 { return T1{x} }
    
    type T2 int
    
    func NewT2(x int) T2 { return T2(x) }
    
    func main() {
    	switch (T1{}) {
    	case NewT1(1):
    		panic("bad1")
    	case NewT1(0):
    		// ok
    	default:
    		panic("bad2")
    	}
    
    	switch T2(0) {
    	case NewT2(2):
    		panic("bad3")
    	case NewT2(0):
    		// ok
    	default:
    		panic("bad4")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 520 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Dirent.Fileno", Field, 0},
    		{"Dirent.Ino", Field, 0},
    		{"Dirent.Name", Field, 0},
    		{"Dirent.Namlen", Field, 0},
    		{"Dirent.Off", Field, 0},
    		{"Dirent.Pad0", Field, 12},
    		{"Dirent.Pad1", Field, 12},
    		{"Dirent.Pad_cgo_0", Field, 0},
    		{"Dirent.Reclen", Field, 0},
    		{"Dirent.Seekoff", Field, 0},
    		{"Dirent.Type", Field, 0},
    		{"Dirent.X__d_padding", Field, 3},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. test/convlit.go

    var _ = float64(unsafe.Pointer(uintptr(65))) // ERROR "convert|conversion"
    var _ = int(unsafe.Pointer(uintptr(65)))     // ERROR "convert|conversion"
    
    // implicit conversions merit scrutiny
    var s string
    var bad1 string = 1  // ERROR "conver|incompatible|invalid|cannot"
    var bad2 = s + 1     // ERROR "conver|incompatible|invalid|cannot"
    var bad3 = s + 'a'   // ERROR "conver|incompatible|invalid|cannot"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    	calledWithToken, resultUsers, resultOk, resultErr = []string{}, nil, false, nil
    	a.AuthenticateToken(context.Background(), "bad1")
    	a.AuthenticateToken(context.Background(), "bad2")
    	a.AuthenticateToken(context.Background(), "bad3")
    	fakeClock.Step(2 * time.Microsecond)
    	a.AuthenticateToken(context.Background(), "bad1")
    	a.AuthenticateToken(context.Background(), "bad2")
    	a.AuthenticateToken(context.Background(), "bad3")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

        }
    
        static class TypeWithUnannotatedProperties extends DefaultTask {
            String bad1
            File bad2
            @Input
            String useful
        }
    
        def "warns about and ignores properties that are not annotated"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top