Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 311 for S1 (0.02 sec)

  1. 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)
  2. pkg/kubelet/configmap/configmap_manager_test.go

    	}
    
    	// Create a pod with some configMaps.
    	s1 := configMapsToAttach{
    		containerEnvConfigMaps: []envConfigMaps{
    			{envVarNames: []string{"s1"}},
    			{envFromNames: []string{"s20"}},
    		},
    		volumes: []string{"s2"},
    	}
    	manager.RegisterPod(podWithConfigMaps("ns1", "name1", s1))
    	manager.RegisterPod(podWithConfigMaps("ns2", "name2", s1))
    	// Update the pod with a different configMaps.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/c/ops_test.cc

      shape_inference::ShapeHandle s1;
    
      TF_Status* status = TF_NewStatus();
      TF_ShapeInferenceContextWithRankAtMost(C_CTX(&c), C_SHP(&in0), 3, C_SHP(&s1),
                                             status);
      EXPECT_EQ("[10,20,30]", c.DebugString(s1));
      EXPECT_EQ(TF_OK, TF_GetCode(status));
    
      TF_ShapeInferenceContextWithRankAtLeast(C_CTX(&c), C_SHP(&in0), 3, C_SHP(&s1),
                                              status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/syntax/testdata/linalg.go

    		uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		float32 | ~float64 |
    		complex64 | ~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    		panic("DotProduct: slices of unequal length")
    	}
    	var r T
    	for i := range s1 {
    		r += s1[i] * s2[i]
    	}
    	return r
    }
    
    // NumericAbs matches numeric types with an Abs method.
    type NumericAbs[T any] interface {
    	Numeric
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. src/go/printer/testdata/comments.x

    type S0 struct {
    	// contains filtered or unexported fields
    }
    
    // The S1 struct; some fields are not exported.
    type S1 struct {
    	S0
    	A, B, C	float	// 3 exported fields
    	D	int	// 2 unexported fields
    	// contains filtered or unexported fields
    }
    
    // The S2 struct; all fields are exported.
    type S2 struct {
    	S1
    	A, B, C	float	// 3 exported fields
    }
    
    // The IZ interface; it is empty.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. src/slices/slices.go

    // returns 0 the result is 0 if len(s1) == len(s2), -1 if len(s1) < len(s2),
    // and +1 if len(s1) > len(s2).
    func CompareFunc[S1 ~[]E1, S2 ~[]E2, E1, E2 any](s1 S1, s2 S2, cmp func(E1, E2) int) int {
    	for i, v1 := range s1 {
    		if i >= len(s2) {
    			return +1
    		}
    		v2 := s2[i]
    		if c := cmp(v1, v2); c != 0 {
    			return c
    		}
    	}
    	if len(s1) < len(s2) {
    		return -1
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top