Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,046 for expecting (0.53 sec)

  1. pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go

    		return fmt.Errorf("versions('%v') != supported versions('%v')", versions, p.SupportedVersions)
    	}
    
    	// this handler expects non-empty endpoint as an example
    	if len(endpoint) == 0 {
    		return errors.New("expecting non empty endpoint")
    	}
    
    	return nil
    }
    
    func (p *exampleHandler) RegisterPlugin(pluginName, endpoint string, versions []string) error {
    	p.SendEvent(pluginName, exampleEventRegister)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 12:00:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingSortedMap.java

        /** Constructor for use by subclasses. */
        public StandardKeySet() {
          super(ForwardingSortedMap.this);
        }
      }
    
      // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting
      @SuppressWarnings({"unchecked", "nullness"})
      static int unsafeCompare(
          @CheckForNull Comparator<?> comparator, @CheckForNull Object o1, @CheckForNull Object o2) {
        if (comparator == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginConfigurationCachingIntegrationTest.groovy

            when:
            succeeds "t", "--configuration-cache", "--scan"
    
            // If this stops working and the auto apply does happen,
            // the above will fail as the check in point is only expecting one plugin
            // and two will check in.
    
            then:
            plugin.notApplied(output)
            plugin.assertBuildScanRequest(output, REQUESTED)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:49:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. cni/pkg/install/kubeconfig_test.go

    			}
    			result, err := createKubeConfig(cfg)
    			if err != nil {
    				if !c.expectedFailure {
    					t.Fatalf("did not expect failure: %v", err)
    				}
    				// Successful test case expecting failure
    				return
    			} else if c.expectedFailure {
    				t.Fatalf("expected failure")
    			}
    
    			goldenFilepath := "testdata/kubeconfig-tls"
    			if c.skipTLSVerify {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

                        return count;
                    }
                });
            }
            T value = decodeAction.read(nested);
            if (readSmallInt() != 0) {
                throw new IllegalStateException("Expecting the end of nested stream.");
            }
            return value;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    		Args: func(cmd *cobra.Command, args []string) error {
    			if name == "" {
    				return fmt.Errorf("expecting a workload name")
    			}
    			if namespace == "" {
    				return fmt.Errorf("expecting a workload namespace")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			u := &unstructured.Unstructured{
    				Object: map[string]any{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_version.txt

    env TESTGO_VERSION=go${goversion}
    
    # An invalid argument should be rejected.
    
    ! go mod tidy -go=bananas
    stderr '^invalid value "bananas" for flag -go: expecting a Go version like "'$goversion'"$'
    cmp go.mod go.mod.orig
    
    ! go mod tidy -go=0.9
    stderr '^invalid value "0.9" for flag -go: expecting a Go version like "'$goversion'"$'
    
    ! go mod tidy -go=2000.0
    stderr '^invalid value "2000.0" for flag -go: maximum supported Go version is '$goversion'$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 23:07:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/DeclarativeDslProjectSettingsIntegrationSpec.groovy

            failure.assertHasErrorOutput(expectedMessage)
    
            where:
            kind               | code                  | expectedMessage
            "syntax"           | "..."                 | "3:13: parsing error: Expecting an element"
            "language feature" | "@A dependencies { }" | "3:13: unsupported language feature: AnnotationUsage"
            "semantic"         | "x = 1"               | "3:13: unresolved reference 'x'"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:21:50 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. mockwebserver/README.md

      chat.loadMore();
      chat.loadMore();
      assertEquals(""
          + "hello, world!\n"
          + "sup, bra?\n"
          + "yo dog", chat.messages());
    
      // Optional: confirm that your app made the HTTP requests you were expecting.
      RecordedRequest request1 = server.takeRequest();
      assertEquals("/v1/chat/messages/", request1.getPath());
      assertNotNull(request1.getHeader("Authorization"));
    
      RecordedRequest request2 = server.takeRequest();
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationQueueTest.groovy

            def delegateExecutor = Executors.newFixedThreadPool(threads)
            operationQueue = new DefaultBuildOperationQueue(false, workerRegistry, executor, new SimpleWorker())
    
            println "expecting ${expectedWorkerCount} concurrent work processors to be started..."
    
            when:
            def waitForCompletionThread = new Thread({
                workerRegistry.runAsWorkerThread {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top