Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 492 for sanity (0.19 sec)

  1. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

            val projectFoldersWithUnitTests = subProjectFolderList().filter {
                File(it, "src/test").exists() &&
                    it.name != "architecture-test" // architecture-test:test is part of Sanity Check
            }
    
            assertFalse(projectFoldersWithUnitTests.isEmpty())
            projectFoldersWithUnitTests.forEach {
                assertTrue(projectDirsWithUnitTests.contains(it), "Contains unit tests: $it")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 10:00:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/erasure-coding.go

    func erasureSelfTest() {
    	// Approx runtime ~1ms
    	var testConfigs [][2]uint8
    	for total := uint8(4); total < 16; total++ {
    		for data := total / 2; data < total; data++ {
    			parity := total - data
    			testConfigs = append(testConfigs, [2]uint8{data, parity})
    		}
    	}
    	got := make(map[[2]uint8]map[ErasureAlgo]uint64, len(testConfigs))
    	// Copied from output of fmt.Printf("%#v", got) at the end.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/toolchain/select.go

    		}
    		os.Unsetenv(targetEnv)
    
    		// Note: It is tempting to check that if gotoolchain != "local"
    		// then target == gotoolchain here, as a sanity check that
    		// the child has made the same version determination as the parent.
    		// This turns out not always to be the case. Specifically, if we are
    		// running Go 1.21 with GOTOOLCHAIN=go1.22+auto, which invokes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/compress/flate/dict_decoder.go

    //     perform a form of run-length encoding on repeated runs of symbols.
    //     The writeCopy and tryWriteCopy are used to implement this command.
    //
    // For performance reasons, this implementation performs little to no sanity
    // checks about the arguments. As such, the invariants documented for each
    // method call must be respected.
    type dictDecoder struct {
    	hist []byte // Sliding window history
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  5. tensorflow/api_template_v1.__init__.py

    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
      # TODO(gunan): Add sanity checks to loaded modules here.
    
      # Load first party dynamic kernels.
      _tf_dir = _os.path.dirname(_current_file_location)
      _kernel_dir = _os.path.join(_tf_dir, "core", "kernels")
      if _os.path.exists(_kernel_dir):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. 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.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/build_test.go

    // directory.
    // See https://golang.org/issue/18878.
    func TestRespectSetgidDir(t *testing.T) {
    	// Check that `cp` is called instead of `mv` by looking at the output
    	// of `(*Shell).ShowCmd` afterwards as a sanity check.
    	cfg.BuildX = true
    	var cmdBuf strings.Builder
    	sh := NewShell("", func(a ...any) (int, error) {
    		return cmdBuf.WriteString(fmt.Sprint(a...))
    	})
    
    	setgiddir, err := os.MkdirTemp("", "SetGroupID")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. test/heapsampling.go

    	}
    	allocSmall3(iters)
    	// If it fails a third time, we may be onto something.
    	return checkAllocations(getMemProfileRecords(), frames[0:3], iters, sizes)
    }
    
    // allocSmall performs only small allocations for sanity testing.
    func allocSmall(n int) {
    	for i := 0; i < n; i++ {
    		// Test verification depends on these lines being contiguous.
    		a1k = new([1024]byte)
    		a512 = new([512]byte)
    		a256 = new([256]byte)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/PromotionProjectTests.kt

                model.buildTypes.map { it.name }
            )
        }
    
        @Test
        fun `promotion sanity check runs 'gradle tasks'`() {
            val model = setupModelFor("release")
    
            val sanityCheck = model.findBuildTypeByName("SanityCheck")
            val steps = sanityCheck.steps.items
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    *   [Google Shell Style Guide](https://google.github.io/styleguide/shellguide.html)
    *   [Google Objective-C Style Guide](https://google.github.io/styleguide/objcguide.html)
    
    #### Running sanity check
    
    If you have Docker installed on your system, you can perform a sanity check on
    your changes by running the command:
    
    ```bash
    tensorflow/tools/ci_build/ci_build.sh CPU tensorflow/tools/ci_build/ci_sanity.sh
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:45:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top