Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for correctness (0.15 sec)

  1. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            assertTrue(ZERO.setBit(result).compareTo(x) >= 0);
            assertTrue(result == 0 || ZERO.setBit(result - 1).compareTo(x) < 0);
          }
        }
      }
    
      // Relies on the correctness of isPowerOfTwo(BigInteger).
      public void testLog2Exact() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          // We only expect an exception if x was not a power of 2.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

        }
    
        def "cacheability for a task with a cacheIf is CACHE_IF_SPEC_NOT_SATISFIED"() {
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/runtime/runtime.go

    var crashFD atomic.Uintptr
    
    //go:linkname setCrashFD
    func setCrashFD(fd uintptr) uintptr {
    	// Don't change the crash FD if a crash is already in progress.
    	//
    	// Unlike the case below, this is not required for correctness, but it
    	// is generally nicer to have all of the crash output go to the same
    	// place rather than getting split across two different FDs.
    	if panicking.Load() > 0 {
    		return ^uintptr(0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. cmd/erasure-metadata-utils.go

    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. cni/test/install_cni.go

    		}
    	}
    	t.Logf("PASS: All temporary files removed from %v", tempCNIConfDir)
    }
    
    // doTest sets up necessary environment variables, runs the Docker installation
    // container and verifies output file correctness.
    func doTest(t *testing.T, chainedCNIPlugin bool, wd, preConfFile, resultFileName, delayedConfFile, expectedOutputFile,
    	expectedPostCleanFile, tempCNIConfDir, tempCNIBinDir, tempK8sSvcAcctDir string,
    ) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/start.go

    		// file. Then both processes would act as though they had the token.
    		// This is very rare, but it's also okay because we're only grabbing
    		// the token to do rate limiting, not for correctness.
    		_ = os.Remove(tokenfile)
    	} else if !os.IsNotExist(err) {
    		log.Printf("error acquiring upload taken: statting token file: %v", err)
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/net/http/httptest/server.go

    		}
    		// If this server doesn't shut down in 5 seconds, tell the user why.
    		t := time.AfterFunc(5*time.Second, s.logCloseHangDebugInfo)
    		defer t.Stop()
    	}
    	s.mu.Unlock()
    
    	// Not part of httptest.Server's correctness, but assume most
    	// users of httptest.Server will be using the standard
    	// transport, so help them out and close any idle connections for them.
    	if t, ok := http.DefaultTransport.(closeIdleTransport); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. tests/integration/telemetry/api/stats_test.go

    // This test focuses on stats filter and metadata exchange filter could work coherently with
    // proxy bootstrap config with Wasm runtime. To avoid flake, it does not verify correctness
    // of metrics, which should be covered by integration test in proxy repo.
    func TestStatsFilter(t *testing.T) {
    	expectedBuckets := DefaultBucketCount
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/authorization/v1/types.go

    // or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to
    // drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns.
    // SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.
    type SelfSubjectRulesReview struct {
    	metav1.TypeMeta `json:",inline"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/runtime/mbarrier.go

    // points to shaded objects, so it's not hiding anything, and the
    // shade(*slot) prevents it from hiding any other pointers on its
    // stack.
    //
    // For a detailed description of this barrier and proof of
    // correctness, see https://github.com/golang/proposal/blob/master/design/17503-eliminate-rescan.md
    //
    //
    //
    // Dealing with memory ordering:
    //
    // Both the Yuasa and Dijkstra barriers can be made conditional on the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top