Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 492 for sanity (0.14 sec)

  1. src/database/sql/convert.go

    		if err != nil {
    			return err
    		}
    		if !driver.IsValue(sv) {
    			return fmt.Errorf("non-subset type %T returned from Value", sv)
    		}
    		nv.Value = sv
    	}
    
    	// Second, ask the column to sanity check itself. For
    	// example, drivers might use this to make sure that
    	// an int64 values being inserted into a 16-bit
    	// integer field is in range (before getting
    	// truncated), or that a nil can't go into a NOT NULL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          }
        }
    
        static {
          theUnsafe = getUnsafe();
          BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class);
    
          // sanity check - this should never fail
          if (theUnsafe.arrayIndexScale(byte[].class) != 1) {
            throw new AssertionError();
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/flowgraph_generator1.go

    // of the 2-to-the-(J-1) serial numbers.
    
    // For each generated function a compact summary is also
    // created so that the generated function can be simulated
    // with a simple interpreter to sanity check the behavior of
    // the compiled code.
    
    // For example:
    
    // func BC_CD_BE_BZ_CZ101(x int64) int64 {
    // 	y := int64(0)
    // 	var b int64
    // 	_ = b
    // 	b = x & 1
    // 	x = x >> 1
    // 	if b != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  4. src/database/sql/driver/driver.go

    	//
    	// If NumInput returns >= 0, the sql package will sanity check
    	// argument counts from callers and return errors to the caller
    	// before the statement's Exec or Query methods are called.
    	//
    	// NumInput may also return -1, if the driver doesn't know
    	// its number of placeholders. In that case, the sql package
    	// will not sanity check Exec or Query argument counts.
    	NumInput() int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        future.set(1);
        assertEquals(1, future.get(-1, SECONDS).intValue());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

        %ret = "some_dialect.some_op"() : () -> tensor<f32>
        func.return %ret : tensor<f32>
      }
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      // Sanity-check that we are verifying tf_saved_model.index_path attributes
      // on results as well. The underlying verification logic is shared,
      // so no need to test all error cases.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        mutated[0]++;
        assertTrue(Arrays.equals(original, hash.asBytes()));
      }
    
      private static void assertReadableBytes(HashCode hashCode) {
        assertTrue(hashCode.bits() >= 32); // sanity
        byte[] hashBytes = hashCode.asBytes();
        int totalBytes = hashCode.bits() / 8;
    
        for (int bytes = 0; bytes < totalBytes; bytes++) {
          byte[] bb = new byte[bytes];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        future.set(1);
        assertEquals(1, future.get(-1, SECONDS).intValue());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/testsupport.go

    		for {
    			ok, err := cdr.NextFunc(&data)
    			if err != nil {
    				return fmt.Errorf("reading counter data file %s: %v", cdf, err)
    			}
    			if !ok {
    				break
    			}
    
    			// NB: sanity check on pkg and func IDs?
    			key := pkfunc{pk: data.PkgIdx, fcn: data.FuncIdx}
    			if prev, found := pmm[key]; found {
    				// Note: no overflow reporting here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/envcmd/env.go

    			env = es
    		}
    	}
    
    	// print
    	if *envJson {
    		printEnvAsJSON(env, *envChanged)
    	} else {
    		PrintEnv(os.Stdout, env, *envChanged)
    	}
    }
    
    func runEnvW(args []string) {
    	// Process and sanity-check command line.
    	if len(args) == 0 {
    		base.Fatalf("go: no KEY=VALUE arguments given")
    	}
    	osEnv := make(map[string]string)
    	for _, e := range cfg.OrigEnv {
    		if i := strings.Index(e, "="); i >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top