Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for S1 (0.03 sec)

  1. tensorflow/compiler/jit/device_compilation_cluster_signature_test.cc

      std::vector<DeviceCompilationClusterSignature> signatures = {s1, s2, s3};
      for (int i = 0; i < signatures.size(); ++i) {
        for (int j = 0; j < signatures.size(); ++j) {
          EXPECT_EQ(i == j, signatures[i] == signatures[j])
              << "s1: " << signatures[i].HumanString() << "\n"
              << "s2: " << signatures[j].HumanString();
          EXPECT_EQ(i == j,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/crypto/aes/block.go

    		t0 = xk[k+0] ^ te0[uint8(s0>>24)] ^ te1[uint8(s1>>16)] ^ te2[uint8(s2>>8)] ^ te3[uint8(s3)]
    		t1 = xk[k+1] ^ te0[uint8(s1>>24)] ^ te1[uint8(s2>>16)] ^ te2[uint8(s3>>8)] ^ te3[uint8(s0)]
    		t2 = xk[k+2] ^ te0[uint8(s2>>24)] ^ te1[uint8(s3>>16)] ^ te2[uint8(s0>>8)] ^ te3[uint8(s1)]
    		t3 = xk[k+3] ^ te0[uint8(s3>>24)] ^ te1[uint8(s0>>16)] ^ te2[uint8(s1>>8)] ^ te3[uint8(s2)]
    		k += 4
    		s0, s1, s2, s3 = t0, t1, t2, t3
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue61992.go

    // license that can be found in the LICENSE file.
    
    // Issue 61992, inconsistent 'mem' juggling in expandCalls
    
    package p
    
    type S1 struct {
    	a, b, c []int
    	i       int
    }
    
    type S2 struct {
    	a, b []int
    	m    map[int]int
    }
    
    func F(i int, f func(S1, S2, int) int) int {
    	return f(
    		S1{},
    		S2{m: map[int]int{}},
    		1<<i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 15:40:52 UTC 2023
    - 439 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
        public boolean hasGroup(final String group) {
            return stream(user.getGroupNames()).get(stream -> stream.anyMatch(s -> s.equals(group)));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. test/typeparam/struct.go

    import (
    	"fmt"
    )
    
    type E[T any] struct {
    	v T
    }
    
    type S1 struct {
    	E[int]
    	v string
    }
    
    type Eint = E[int]
    type Ebool = E[bool]
    type Eint2 = Eint
    
    type S2 struct {
    	Eint
    	Ebool
    	v string
    }
    
    type S3 struct {
    	*E[int]
    }
    
    func main() {
    	s1 := S1{Eint{2}, "foo"}
    	if got, want := s1.E.v, 2; got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 16:29:58 UTC 2024
    - 801 bytes
    - Viewed (0)
  6. src/io/fs/readdir_test.go

    }
    
    func TestReadDirPath(t *testing.T) {
    	fsys := os.DirFS(t.TempDir())
    	_, err1 := ReadDir(fsys, "non-existent")
    	_, err2 := ReadDir(struct{ FS }{fsys}, "non-existent")
    	if s1, s2 := errorPath(err1), errorPath(err2); s1 != s2 {
    		t.Fatalf("s1: %s != s2: %s", s1, s2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:25:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        assertTrue(Objects.equal(1, 1));
        assertTrue(Objects.equal(null, null));
    
        // test distinct string objects
        String s1 = "foobar";
        String s2 = new String(s1);
        assertTrue(Objects.equal(s1, s2));
    
        assertFalse(Objects.equal(s1, null));
        assertFalse(Objects.equal(null, s1));
        assertFalse(Objects.equal("foo", "bar"));
        assertFalse(Objects.equal("1", 1));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/io/fs/readfile_test.go

    }
    
    func TestReadFilePath(t *testing.T) {
    	fsys := os.DirFS(t.TempDir())
    	_, err1 := ReadFile(fsys, "non-existent")
    	_, err2 := ReadFile(struct{ FS }{fsys}, "non-existent")
    	if s1, s2 := errorPath(err1), errorPath(err2); s1 != s2 {
    		t.Fatalf("s1: %s != s2: %s", s1, s2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:25:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. test/fixedbugs/issue65893.go

    // compile
    
    // Copyright 2024 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
    
    type (
    	s  = struct{ f func(s1) }
    	s1 = struct{ i I }
    )
    
    type I interface {
    	S() *s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 01:45:48 UTC 2024
    - 269 bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue67547.go

    }
    
    func _[P map[int]int]() {
    	type A = P
    	var m A
    	clear(m) // don't report an error for m
    }
    
    type S1 struct {
    	x int "S1.x"
    }
    
    type S2 struct {
    	x int "S2.x"
    }
    
    func _[P1 S1, P2 S2]() {
    	type A = P1
    	var p A
    	_ = P2(p) // conversion must be valid
    }
    
    func _[P1 S1, P2 S2]() {
    	var p P1
    	type A = P2
    	_ = A(p) // conversion must be valid
    }
    
    func _[P int | string]() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top