Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for correctness (1.04 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. 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)
  8. 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)
  9. src/index/suffixarray/suffixarray_test.go

    		}
    		b.Run(fmt.Sprintf("bits=%d", bits), func(b *testing.B) {
    			cleanup := setBits(bits)
    			defer cleanup()
    
    			b.StopTimer()
    			x := New(data)
    			size := testSaveRestore(nil, nil, x)       // verify correctness
    			buf := bytes.NewBuffer(make([]byte, size)) // avoid growing
    			b.SetBytes(int64(size))
    			b.StartTimer()
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				buf.Reset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // The tests in this package focus on the correctness of its implementation of
    // runtime.Serializer. The specific behavior of marshaling Go values to CBOR bytes and back is
    // tested in the ./internal/modes package, which is used both by the Serializer implementation and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top