Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 102 for checkcast (0.86 sec)

  1. .github/ISSUE_TEMPLATE/bug_report.yaml

          multiple: true
          options:
            - Android
            - GWT
            - Java 8
            - Java 11
            - Java 17
    
      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
                [code of conduct](https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md).
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 27 19:53:41 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. pkg/security/mock.go

    }
    
    func (f *FakeAuthenticator) authenticateGrpc(ctx context.Context) (*Caller, error) {
    	f.mu.Lock()
    	at := f.AllowedToken
    	ac := f.AllowedCert
    	f.mu.Unlock()
    	token := checkToken(ctx, at)
    	cert := checkCert(ctx, ac)
    	id := []string{spiffe.Identity{
    		TrustDomain:    "cluster.local",
    		Namespace:      "fake-namespace",
    		ServiceAccount: "fake-sa",
    	}.String()}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. .github/PULL_REQUEST_TEMPLATE.md

    <!--- The issue this PR addresses -->
    <!-- Fixes #? -->
    
    ### Context
    <!--- Why do you believe many users will benefit from this change? -->
    <!--- Link to relevant issues or forum discussions here -->
    
    ### Contributor Checklist
    - [ ] [Review Contribution Guidelines](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 22:36:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      private static final byte GREATEST = Byte.MAX_VALUE;
    
      private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/platform-base/src/main/java/org/gradle/api/CheckableComponentSpec.java

         */
        @Nullable
        Task getCheckTask();
    
        /**
         * Specifies the task responsible for checking this component.
         */
        void setCheckTask(@Nullable Task checkTask);
    
        /**
         * Adds tasks required to check this component. Tasks added this way are subsequently
         * added as dependencies of this component's {@link #getCheckTask() check task}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      private static final byte GREATEST = Byte.MAX_VALUE;
    
      private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
          assertThat(SignedBytes.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. .github/pull_request_template.md

    Following this checklist to help us incorporate your
    contribution quickly and easily:
    
     - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/MNG) filed
           for the change (usually before you start working on it).  Trivial changes like typos do not
           require a JIRA issue. Your pull request should address just this issue, without
           pulling in other changes.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 20 13:14:27 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        for (long value : UNSIGNED_INTS) {
          assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value);
        }
        assertCastFails(1L << 32);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedInts.checkedCast(value);
          fail("Cast to int should have failed: " + value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top