Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,261 for checkDir (0.6 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/GradleBuildScriptExecutionFromSubDirIntegTest.groovy

            buildFile """
                tasks.register("checkDir") {
                    def file = file("tmp/gradle")
                    doLast {
                        println file
                    }
                }
            """
            settingsFile << "include 'tmp'"
    
            when:
            def subdir = file("tmp")
            subdir.mkdirs()
            executer.inDirectory(subdir)
            succeeds ':checkDir'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    // encounters an error reading the zip file.
    //
    // Note that CheckZip does not read individual files, so [Unzip] may still fail
    // when CheckZip is successful due to I/O errors.
    func CheckZip(m module.Version, zipFile string) (CheckedFiles, error) {
    	f, err := os.Open(zipFile)
    	if err != nil {
    		return CheckedFiles{}, err
    	}
    	defer f.Close()
    	_, cf, err := checkZip(m, f)
    	return cf, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  3. src/testing/fstest/testfs.go

    		f.Close()
    		t.errorf("%s: Open returned File type %T, not a fs.ReadDirFile", dir, f)
    		return nil
    	}
    	return d
    }
    
    // checkDir checks the directory dir, which is expected to exist
    // (it is either the root or was found in a directory listing with IsDir true).
    func (t *fsTester) checkDir(dir string) {
    	// Read entire directory.
    	t.dirs = append(t.dirs, dir)
    	d := t.openDir(dir)
    	if d == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/runtime/checkptr.go

    	if elem.Pointers() && uintptr(p)&(uintptr(elem.Align_)-1) != 0 {
    		throw("checkptr: misaligned pointer conversion")
    	}
    
    	// Check that (*[n]elem)(p) doesn't straddle multiple heap objects.
    	// TODO(mdempsky): Fix #46938 so we don't need to worry about overflow here.
    	if checkptrStraddles(p, n*elem.Size_) {
    		throw("checkptr: converted pointer straddles multiple allocations")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/checker.go

    //  limitations under the License.
    
    package echo
    
    var noChecker Checker = func(_ CallResult, err error) error {
    	return err
    }
    
    // Checker inspects echo call results for errors.
    type Checker func(CallResult, error) error
    
    func (c Checker) Check(result CallResult, err error) error {
    	return c(result, err)
    }
    
    // NoChecker provides a Checker that returns the original raw call error, unaltered.
    func NoChecker() Checker {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 1000 bytes
    - Viewed (0)
  6. src/runtime/testdata/testprog/checkptr.go

    cuiweixie <******@****.***> 1660643533 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    Tim Allclair <******@****.***> 1667427828 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  8. src/runtime/checkptr_test.go

    	}{
    		{"CheckPtrAlignmentPtr", "fatal error: checkptr: misaligned pointer conversion\n"},
    		{"CheckPtrAlignmentNoPtr", ""},
    		{"CheckPtrAlignmentNilPtr", ""},
    		{"CheckPtrArithmetic", "fatal error: checkptr: pointer arithmetic result points to invalid allocation\n"},
    		{"CheckPtrArithmetic2", "fatal error: checkptr: pointer arithmetic result points to invalid allocation\n"},
    		{"CheckPtrSize", "fatal error: checkptr: converted pointer straddles multiple allocations\n"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_limit_test.go

    			name:     "3MB of deeply nested slices",
    			checkErr: successOrMaxDepthError,
    			data:     []byte(`{"a":` + strings.Repeat(`[`, 3*1024*1024/2) + strings.Repeat(`]`, 3*1024*1024/2) + "}"),
    		},
    		{
    			name:     "3MB of unbalanced nested slices",
    			checkErr: nonNilError,
    			data:     []byte(`{"a":` + strings.Repeat(`[`, 3*1024*1024)),
    		},
    		{
    			name:     "3MB of deeply nested maps",
    			checkErr: successOrMaxDepthError,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:49:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  10. guava/javadoc-link/checker-framework/package-list

    org.checkerframework.checker.propkey.qual
    org.checkerframework.checker.regex
    org.checkerframework.checker.regex.qual
    org.checkerframework.checker.signature
    org.checkerframework.checker.signature.qual
    org.checkerframework.checker.signedness
    org.checkerframework.checker.signedness.qual
    org.checkerframework.checker.tainting
    org.checkerframework.checker.tainting.qual
    org.checkerframework.checker.units
    org.checkerframework.checker.units.qual
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
Back to top