Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,212 for shirt1 (0.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go

    				expectedByName:       sets.New("shirt1", "shirt2"),
    				expectObserveRemoval: sets.New("shirt1", "shirt2"), // shirt 1 is deleted, shirt 2 is updated to not match the selector
    			},
    			{
    				version:              version,
    				fieldSelector:        "spec.quantity=2",
    				expectedByName:       sets.New("shirt1", "shirt3"),
    				expectObserveRemoval: sets.New("shirt1"), // shirt 1 is deleted
    			},
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/crypto/md5/gen.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	err = os.WriteFile(*filename, data, 0644)
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    type Data struct {
    	a, b, c, d string
    	Shift1     []int
    	Shift2     []int
    	Shift3     []int
    	Shift4     []int
    	Table1     []uint32
    	Table2     []uint32
    	Table3     []uint32
    	Table4     []uint32
    }
    
    var funcs = template.FuncMap{
    	"dup":     dup,
    	"relabel": relabel,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. test/shift1.go

    	_ = 1<<s == 1.  // ERROR "invalid|shift of type float64"
    	_ = 1.<<s == 1  // ERROR "invalid|shift of type float64"
    	_ = 1.<<s == 1. // ERROR "invalid|non-integer|shift of type float64"
    
    	_ = 1<<s+1 == 1
    	_ = 1<<s+1 == 1.   // ERROR "invalid|shift of type float64"
    	_ = 1<<s+1. == 1   // ERROR "invalid|shift of type float64"
    	_ = 1<<s+1. == 1.  // ERROR "invalid|shift of type float64"
    	_ = 1.<<s+1 == 1   // ERROR "invalid|shift of type float64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 03 16:24:32 UTC 2021
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    			}
    		}
    	})
    	return nil, nil
    }
    
    // checkLongShift checks if shift or shift-assign operations shift by more than
    // the length of the underlying variable.
    func checkLongShift(pass *analysis.Pass, node ast.Node, x, y ast.Expr) {
    	if pass.TypesInfo.Types[x].Value != nil {
    		// Ignore shifts of constants.
    		// These are frequently used for bit-twiddling tricks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. test/shift2.go

    	m int   = 1.0 << s       // legal: 1.0 has type int
    	w int64 = 1.0 << 33      // legal: 1.0<<33 is a constant shift expression
    )
    
    // non-constant shift expressions
    var (
    	a1 int = 2.0 << s    // typeof(2.0) is int in this context => legal shift
    	d1     = f(2.0 << s) // typeof(2.0) is int in this context => legal shift
    )
    
    // constant shift expressions
    const c uint = 5
    
    var (
    	a2 int     = 2.0 << c    // a2 == 64 (type int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  6. src/go/types/testdata/local/shifts.go

    // Copyright 2022 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.
    
    // The following shift tests are disabled in the shared
    // testdata/check/shifts.go file because they don't work
    // correctly with types2 at the moment. See go.dev/issue/52080.
    // Make sure we keep testing them with go/types.
    //
    // TODO(gri) Once go.dev/issue/52080 is fixed, this file can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 01 21:31:01 UTC 2023
    - 886 bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals(0, removalListener.getCount());
    
        int shift2 = shift1 + 10;
        loader.setValuePrefix(shift2);
        // fill with new data - has to live for 20 ms more
        for (int i = 0; i < 10; i++) {
          cache.invalidate(keyPrefix + i);
          assertEquals(
              "key: " + keyPrefix + i, Integer.valueOf(i + shift2), cache.getUnchecked(keyPrefix + i));
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 18.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Shorts.java

       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Shorts.java

       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  10. test/shift3.go

    	f(x<<(1<<x), 4)
    	f(x<<(1.<<x), 4)
    	f(x<<((1+0i)<<x), 4)
    	f(x<<(0i<<x), 1)
    
    	// corner cases
    	const M = math.MaxUint
    	f(x<<(M+0), 0)     // shift by untyped int representable as uint
    	f(x<<(M+0.), 0)    // shift by untyped float representable as uint
    	f(x<<(M+0.+0i), 0) // shift by untyped complex representable as uint
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 07 17:19:55 UTC 2022
    - 834 bytes
    - Viewed (0)
Back to top