Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 174 for correctness (0.22 sec)

  1. pkg/apis/authorization/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
    	metav1.ObjectMeta
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 08:53:21 UTC 2019
    - 10K bytes
    - Viewed (0)
  2. test/closure3.dir/main.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check correctness of various closure corner cases
    // that are expected to be inlined
    
    package main
    
    var ok bool
    var sink int
    
    func main() {
    	{
    		if x := func() int { // ERROR "can inline main.func1"
    			return 1
    		}(); x != 1 { // ERROR "inlining call to main.func1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:29 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         * forms are equivalent (though not necessarily minimal, though we hope this
         * to be the case). Thus, this test is more of a regression test.
         *
         * Rough instructions to regenerate the test outputs and verify correctness:
         * - Temporarily change this test:
         * --- Comment out assertEquals.
         * --- System.out.println(input + " " + simplifyPath(input));
         * --- fail(). (If the test were to pass, its output would be hidden.)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 11K bytes
    - Viewed (0)
  4. src/image/color/color.go

    	// > around''.
    	//
    	// Considering these properties and the fact that this function is
    	// called in the hot paths (x,y loops), it is reduced to the below code
    	// which is slightly faster. See TestSqDiff for correctness check.
    	d := x - y
    	return (d * d) >> 2
    }
    
    // Standard colors.
    var (
    	Black       = Gray16{0}
    	White       = Gray16{0xffff}
    	Transparent = Alpha16{0}
    	Opaque      = Alpha16{0xffff}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        }
      }
    
      public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() {
        assertEquals(
            "Unexpected number of public methods in ReentrantReadWriteLock. "
                + "The correctness of CycleDetectingReentrantReadWriteLock depends on "
                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        }
      }
    
      public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() {
        assertEquals(
            "Unexpected number of public methods in ReentrantReadWriteLock. "
                + "The correctness of CycleDetectingReentrantReadWriteLock depends on "
                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  7. src/io/fs/fs.go

    // A file system may implement additional interfaces,
    // such as [ReadFileFS], to provide additional or optimized functionality.
    //
    // [testing/fstest.TestFS] may be used to test implementations of an FS for
    // correctness.
    type FS interface {
    	// Open opens the named file.
    	//
    	// When Open returns an error, it should be of type *PathError
    	// with the Op field set to "open", the Path field set to name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top