Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 342 for overloads (0.13 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy

        }
    
        def "gets overloaded methods from a single type"() {
            expect:
            def overloaded = ModelSchemaUtils.getCandidateMethods(TypeWithOverloadedMethods).overloadedMethodsNamed("someOverloadedMethod")
            overloaded.size() == 2
            overloaded.values()[0]*.name == ["someOverloadedMethod"]
            overloaded.values()[1]*.name == ["someOverloadedMethod"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetectorTest.groovy

                "output", staleFileAddedBetweenExecutions
            )
    
            when:
            def overlaps = detector.detect(previousOutputFiles, outputFilesBeforeExecution)
    
            then:
            overlaps.propertyName == "output"
            overlaps.overlappedFilePath == "/absolute/path"
        }
    
        def "detects overlap when there is a stale #type in an output directory"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/list_overlay.txt

    # Test listing with overlays
    
    # Overlay in an existing directory
    go list -overlay overlay.json  -f '{{.GoFiles}}' .
    stdout '^\[f.go\]$'
    
    # Overlays in a non-existing directory
    go list -overlay overlay.json -f '{{.GoFiles}}' ./dir
    stdout '^\[g.go\]$'
    
    # Overlays in an existing directory with already existing files
    go list -overlay overlay.json -f '{{.GoFiles}}' ./dir2
    stdout '^\[h.go i.go\]$'
    
    # Overlay that removes a file from a directory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 12 21:13:04 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    // STL-style container class, the first overload of IsContainerTest
    // will be viable (since both C::iterator* and C::const_iterator* are
    // valid types and NULL can be implicitly converted to them).  It will
    // be picked over the second overload as 'int' is a perfect match for
    // the type of argument 0.  If C::iterator or C::const_iterator is not
    // a valid type, the first overload is not viable, and the second
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

      @Override
      <T extends @Nullable Object> List<Future<T>> invokeAll(
          Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
          throws InterruptedException;
    
      /**
       * Duration-based overload of {@link #invokeAll(Collection, long, TimeUnit)}.
       *
       * @since 32.1.0
       */
      @J2ktIncompatible
      default <T extends @Nullable Object> List<Future<T>> invokeAll(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 20:33:25 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/net/http/pattern_test.go

    		{"/a/{m...}", "/a/b/{y...}", moreGeneral},
    		{"/a/{m...}", "/a/{x}/{y...}", moreGeneral},
    		{"/a/{z}/{m...}", "/a/b/{y...}", moreGeneral},
    		{"/a/{z}/{m...}", "/{z}/a/", overlaps},
    		{"/a/{z}/{m...}", "/{z}/b/{y...}", overlaps},
    		{"/a/{z}/b/{m...}", "/{x}/c/{y...}", overlaps},
    		{"/a/{z}/a/{m...}", "/{x}/b", disjoint},
    
    		// Dollar on left.
    		{"/{$}", "/a", disjoint},
    		{"/{$}", "/a/b", disjoint},
    		{"/{$}", "/{$}", equivalent},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. operator/pkg/manifest/shared_test.go

    	tests := []struct {
    		name     string
    		overlays []string
    		wantErr  bool
    		stdin    bool
    	}{
    		{
    			name:     "layer1",
    			overlays: []string{"yaml_layer1"},
    			wantErr:  false,
    		},
    		{
    			name:     "layer1_stdin",
    			overlays: []string{"yaml_layer1"},
    			wantErr:  false,
    			stdin:    true,
    		},
    		{
    			name:     "layer1_2",
    			overlays: []string{"yaml_layer1", "yaml_layer2"},
    			wantErr:  false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 23 16:28:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. pkg/controller/job/success_policy_test.go

    				Rules: []batch.SuccessPolicyRule{{
    					SucceededIndexes: ptr.To("10-12,14-16"),
    				}},
    			},
    		},
    		"rules.succeededIndexes is specified; succeededIndexes didn't match rules; rules overlaps succeededIndexes at first": {
    			enableJobSuccessPolicy: true,
    			completions:            10,
    			succeededIndexes:       orderedIntervals{{2, 4}, {6, 8}},
    			successPolicy: &batch.SuccessPolicy{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. internal/pubsub/mask.go

    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    	return t&other == other
    }
    
    // Overlaps returns whether *any* flags in t overlaps with other.
    func (t Mask) Overlaps(other Mask) bool {
    	return t&other != 0
    }
    
    // SingleType returns whether t has a single type set.
    func (t Mask) SingleType() bool {
    	return bits.OnesCount64(uint64(t)) == 1
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go

    				},
    			},
    			attributes:           endpointCreateAttributes(),
    			expression:           "variables.name == 'endpoints1'",
    			expectErr:            true,
    			expectedErrorMessage: `found no matching overload for '_==_' applied to '(int, string)'`,
    		},
    		{
    			name: "delayed eval error",
    			variables: []NamedExpressionAccessor{
    				&testVariable{
    					name:       "count",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top