Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 110 for checkcast (0.15 sec)

  1. src/cmd/go/internal/mvs/mvs_test.go

    				list, err := BuildList([]module.Version{m(kf[1])}, reqs)
    				checkList(t, key, list, err, val)
    			})
    			continue
    		case "upgrade*":
    			if len(kf) != 2 {
    				t.Fatalf("upgrade* takes one argument: %q", line)
    			}
    			fns = append(fns, func(t *testing.T) {
    				list, err := UpgradeAll(m(kf[1]), reqs)
    				checkList(t, key, list, err, val)
    			})
    			continue
    		case "upgradereq":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:26 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/testdata/harness.go

    	} else {
    		got := fmt.Sprintf("%v", err)
    		checkWant("meta data", got)
    	}
    
    	// Now try to emit counter data file to a bad dir.
    	if err := coverage.WriteCountersDir(mangled); err == nil {
    		log.Fatal("expected error emitting counter data to bad dir")
    	} else {
    		got := fmt.Sprintf("%v", err)
    		checkWant("counter data", got)
    	}
    }
    
    func emitToUnwritableDir() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/main/java/org/gradle/language/base/plugins/ComponentModelBasePlugin.java

                for (BinarySpec binary : binaries) {
                    Task checkTask = binary.getCheckTask();
                    if (checkTask != null) {
                        ((TaskContainerInternal)tasks).addInternal(checkTask);
                    }
                }
            }
    
            @Defaults
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. .github/PULL_REQUEST_TEMPLATE.md

    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Optimization (provides speedup with no functional changes)
    - [ ] Breaking change (fix or feature that would cause existing functionality to change)
    
    ## Checklist:
    - [ ] Fixes a regression (If yes, please add `commit-id` or `PR #` here)
    - [ ] Unit tests added/updated
    - [ ] Internal documentation updated
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 14 17:29:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. .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)
  6. 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)
  7. .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)
  8. 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)
  9. 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)
  10. 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)
Back to top