Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 182 for Succeeded (0.12 sec)

  1. src/cmd/internal/browser/browser.go

    	}
    	cmds = append(cmds,
    		[]string{"chrome"},
    		[]string{"google-chrome"},
    		[]string{"chromium"},
    		[]string{"firefox"},
    	)
    	return cmds
    }
    
    // Open tries to open url in a browser and reports whether it succeeded.
    func Open(url string) bool {
    	for _, args := range Commands() {
    		cmd := exec.Command(args[0], append(args[1:], url)...)
    		if cmd.Start() == nil && appearsSuccessful(cmd, 3*time.Second) {
    			return true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/result/BuildableModuleVersionListingResolveResult.java

     */
    public interface BuildableModuleVersionListingResolveResult extends ResourceAwareResolveResult, ErroringResolveResult<ModuleVersionResolveException> {
    
        enum State {
            /**
             * Listing has succeeded.
             */
            Listed,
            /**
             * Listing has failed.
             */
            Failed,
            /**
             * Listing hasn't been performed yet, or another attempt can be made.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. internal/config/etcd/etcd_test.go

    			if err != nil && testCase.success {
    				t.Errorf("expected to succeed but failed with %s", err)
    			}
    			if !testCase.success && err == nil {
    				t.Error("expected failure but succeeded instead")
    			}
    			if testCase.success {
    				if !reflect.DeepEqual(endpoints, testCase.endpoints) {
    					t.Errorf("expected %s, got %s", testCase.endpoints, endpoints)
    				}
    				if secure != testCase.secure {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. src/runtime/runtime_mmap_test.go

    	_, err = runtime.Mmap(unsafe.Pointer(uintptr(b)+ps/2), ps, 0, runtime.MAP_ANON|runtime.MAP_PRIVATE|runtime.MAP_FIXED, -1, 0)
    	if err == 0 {
    		t.Errorf("Mmap should have failed with half-page alignment %d, but succeeded: %v", ps/2, err)
    	}
    
    	// Mmap should succeed at a full page into the buffer.
    	_, err = runtime.Mmap(unsafe.Pointer(uintptr(b)+ps), ps, 0, runtime.MAP_ANON|runtime.MAP_PRIVATE|runtime.MAP_FIXED, -1, 0)
    	if err != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/util/traffic/result.go

    			minimumPercent, r.SuccessfulRequests, r.TotalRequests, r.PercentSuccess(), r.Error)
    	}
    	if r.SuccessfulRequests == r.TotalRequests {
    		t.Log("traffic checker succeeded with all successful requests")
    	} else {
    		t.Logf("traffic checker met minimum threshold, with %d/%d successes, but encountered some failures: %v", r.SuccessfulRequests, r.TotalRequests, r.Error)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

            if (attr != nullptr && attr->b() == true) {
              return true;
            }
          }
        }
        return false;
      };
      return HasAttr(graph, function_library, predicate).succeeded();
    }
    
    bool IsReplicatedGraph(const Graph& graph,
                           const FunctionLibraryDefinition* function_library) {
      auto predicate = [](const Graph& graph) {
        for (const Node* node : graph.nodes()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/testdata/main5.c

    				printf("pipe(2) failed\n");
    				return 0;
    			}
    			// Close the reading end.
    			close(fd[0]);
    			// Expect that write(2) fails (EPIPE)
    			if (write(fd[1], "some data", 9) != -1) {
    				printf("write(2) unexpectedly succeeded\n");
    				return 0;
    			}
    			printf("did not receive SIGPIPE\n");
    			return 0;
    		}
    		case 4: {
    			fprintf(stderr, "OK\n");
    			fflush(stderr);
    
    			if (verbose) {
    				printf("calling Block\n");
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. src/runtime/nbpipe_test.go

    	// Test that fcntl returns an error as expected.
    	if runtime.Close(r) != 0 {
    		t.Fatalf("Close(%d) failed", r)
    	}
    	val, errno := runtime.Fcntl(r, syscall.F_GETFD, 0)
    	if val != -1 {
    		t.Errorf("Fcntl succeeded unexpectedly")
    	} else if syscall.Errno(errno) != syscall.EBADF {
    		t.Errorf("Fcntl failed with error %v, expected %v", syscall.Errno(errno), syscall.EBADF)
    	}
    }
    
    func checkIsPipe(t *testing.T, r, w int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 20:32:54 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. docs/iam/policies/pbac-tests.sh

    ret=$?
    if [ $ret -eq 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc with invalid sse-kms should fail. Succeeded"
    	exit 1
    fi
    
    kill $pid
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/concurrent/JavaSystemPropertiesAsyncIOScopeSettingsTest.kt

                settings.ioActionTimeoutMs
            }
        }
    
        private
        fun assertThrowsFor(propertyValue: String, block: () -> Unit) {
            try {
                block()
                fail("Expected to fail but succeeded")
            } catch (ex: Exception) {
                assertEquals(
                    "Invalid value for system property '$IO_ACTION_TIMEOUT_SYSTEM_PROPERTY': '$propertyValue'. It must be a positive number of milliseconds.",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top