Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 174 for correctness (0.7 sec)

  1. pkg/apis/core/validation/doc.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.
    */
    
    // Package validation has functions for validating the correctness of api
    // objects and explaining what is wrong with them when they aren't valid.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 09 11:14:07 UTC 2017
    - 793 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      EXPECT_EQ(mlir_lowering_count, 67);
      EXPECT_EQ(tf2xla_fallback_count, 322);
      EXPECT_EQ(non_categorized_count, 428);
    }
    
    // Just a counter test to see which ops have duplicate lowerings. This isn't a
    // correctness test versus a test to easily ensure the op registry is kept
    // in sync.
    TEST_F(LegalizationOpConfigTest, CountTypesWhichHaveBothMlirAndTf2xlaFallback) {
      int double_lowering_count = 0;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue52698.go

    // Copyright 2022 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.
    
    package p
    
    // correctness check: ensure that cycles through generic instantiations are detected
    type T[P any] struct {
    	_ P
    }
    
    type S /* ERROR "invalid recursive type" */ struct {
    	_ T[S]
    }
    
    // simplified test 1
    
    var _ A1[A1[string]]
    
    type A1[P any] struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 823 bytes
    - Viewed (0)
  4. src/cmd/link/testdata/testHashedSyms/p.go

    // with same contents but different sizes. The linker should not
    // report a hash collision. The linker can (and actually does)
    // dedup the two symbols, by keeping the larger symbol. The dedup
    // is not a requirement for correctness and not checked in this test.
    // We do check the emitted symbol contents are correct, though.
    
    package main
    
    func main() {
    	F([10]int{1, 2, 3, 4, 5, 6}, [20]int{1, 2, 3, 4, 5, 6})
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 21 21:14:19 UTC 2020
    - 908 bytes
    - Viewed (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/math/LongMathTest.java

              LongMath.log2(x, mode);
              fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException expected) {
            }
          }
        }
      }
    
      /* Relies on the correctness of BigIntegerMath.log2 for all modes except UNNECESSARY. */
      public void testLog2MatchesBigInteger() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

              LongMath.log2(x, mode);
              fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException expected) {
            }
          }
        }
      }
    
      /* Relies on the correctness of BigIntegerMath.log2 for all modes except UNNECESSARY. */
      public void testLog2MatchesBigInteger() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. src/runtime/race/race_windows_test.go

    import (
    	"sync/atomic"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    func TestAtomicMmap(t *testing.T) {
    	// Test that atomic operations work on "external" memory. Previously they crashed (#16206).
    	// Also do a sanity correctness check: under race detector atomic operations
    	// are implemented inside of race runtime.
    	kernel32 := syscall.NewLazyDLL("kernel32.dll")
    	VirtualAlloc := kernel32.NewProc("VirtualAlloc")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  9. architecture/networking/controllers.md

    * Correctness at startup; with the sequencing above, items are only processed once all informers are synced. This means queries will not return stale data at startup.
    * Deduping of identical events
    * Automatic retrying of failed events (configurable)
    
    The above logic is critical to handle correctly to ensure correctness of a controller.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 09 17:41:25 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/runtime/race/race_linux_test.go

    import (
    	"sync/atomic"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    func TestAtomicMmap(t *testing.T) {
    	// Test that atomic operations work on "external" memory. Previously they crashed (#16206).
    	// Also do a sanity correctness check: under race detector atomic operations
    	// are implemented inside of race runtime.
    	mem, err := syscall.Mmap(-1, 0, 1<<20, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANON|syscall.MAP_PRIVATE)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 16 14:09:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top