Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for checkcast (0.44 sec)

  1. cmd/kubeadm/app/preflight/checks_test.go

    			}
    			for _, check := range checks {
    				if check.Name() == ipv4File {
    					checkList = append(checkList, ipv4File)
    				}
    				if check.Name() == ipv6File {
    					checkList = append(checkList, ipv6File)
    				}
    			}
    			if diff := cmp.Diff(checkList, rt.expStr); diff != "" {
    				t.Fatalf("unexpected file content check (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    				checkExampleName(pass, fn)
    				checkExampleOutput(pass, fn, f.Comments)
    			case strings.HasPrefix(fn.Name.Name, "Test"):
    				checkTest(pass, fn, "Test")
    			case strings.HasPrefix(fn.Name.Name, "Benchmark"):
    				checkTest(pass, fn, "Benchmark")
    			case strings.HasPrefix(fn.Name.Name, "Fuzz"):
    				checkTest(pass, fn, "Fuzz")
    				checkFuzz(pass, fn)
    			}
    		}
    	}
    	return nil, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server_test.go

    				if istiodCert, err := s.getIstiodCertificate(nil); istiodCert == nil || err != nil {
    					t.Errorf("Istiod failed to generate new DNS cert")
    				}
    			} else {
    				if len(c.expCert) != 0 {
    					if !checkCert(t, s, c.expCert, c.expKey) {
    						t.Errorf("Istiod certificate does not match the expectation")
    					}
    				} else {
    					if _, err := s.getIstiodCertificate(nil); err == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedBytes.java

       * @return the {@code byte} value that, when treated as unsigned, equals {@code value}
       * @throws IllegalArgumentException if {@code value} is negative or greater than 255
       */
      @CanIgnoreReturnValue
      public static byte checkedCast(long value) {
        checkArgument(value >> Byte.SIZE == 0, "out of range: %s", value);
        return (byte) value;
      }
    
      /**
       * Returns the {@code byte} value that, when treated as unsigned, is nearest in value to {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       * @return the {@code byte} value that, when treated as unsigned, equals {@code value}
       * @throws IllegalArgumentException if {@code value} is negative or greater than 255
       */
      @CanIgnoreReturnValue
      public static byte checkedCast(long value) {
        checkArgument(value >> Byte.SIZE == 0, "out of range: %s", value);
        return (byte) value;
      }
    
      /**
       * Returns the {@code byte} value that, when treated as unsigned, is nearest in value to {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              }
              assertTrue(Ordering.from(comparator).isOrdered(resultsForStrategy));
            }
            if ((characteristics & Spliterator.SIZED) != 0) {
              assertEquals(Ints.checkedCast(estimatedSize), resultsForStrategy.size());
            }
    
            assertEqualIgnoringOrder(elements, resultsForStrategy);
            resultsForAllStrategies.add(resultsForStrategy);
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. src/runtime/stubs.go

    func divRoundUp(n, a uintptr) uintptr {
    	// a is generally a power of two. This will get inlined and
    	// the compiler will optimize the division.
    	return (n + a - 1) / a
    }
    
    // checkASM reports whether assembly runtime checks have passed.
    func checkASM() bool
    
    func memequal_varlen(a, b unsafe.Pointer) bool
    
    // bool2int returns 0 if x is false or 1 if x is true.
    func bool2int(x bool) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. cmd/sftp-server.go

    		return errors.New("public key authority validation requested but no ca public key specified.")
    	}
    
    	cert, ok := clientKey.(*ssh.Certificate)
    	if !ok {
    		return errSftpPublicKeyWithoutCert
    	}
    
    	// ssh.CheckCert called by ssh.Authenticate accepts certificates
    	// with empty principles list so we block those in here.
    	if len(cert.ValidPrincipals) == 0 {
    		return errSftpCertWithoutPrincipals
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      @AndroidIncompatible // slow
      public void testBitSize() {
        double fpp = 0.03;
        for (int i = 1; i < 10000; i++) {
          long numBits = BloomFilter.optimalNumOfBits(i, fpp);
          int arraySize = Ints.checkedCast(LongMath.divide(numBits, 64, RoundingMode.CEILING));
          assertEquals(
              arraySize * Long.SIZE,
              BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. README.md

    ### Upgrade Checklist
    
    - Test all upgrades in a lower environment (DEV, QA, UAT) before applying to production. Performing blind upgrades in production environments carries significant risk.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 00:22:36 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top