Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for indir (0.05 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetectorTest.groovy

            dir.file(PROCESSOR_DECLARATION) << "InDir"
            dir.file(INCREMENTAL_PROCESSOR_DECLARATION) << "InDir,BAR"
            def cp = files(jar, dir)
    
            expect:
            detector.detectProcessors(cp).values().asList() == [
                new AnnotationProcessorDeclaration("InJar", IncrementalAnnotationProcessorType.UNKNOWN),
                new AnnotationProcessorDeclaration("InDir", IncrementalAnnotationProcessorType.UNKNOWN)
            ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/encoding/gob/encode.go

    // encoded integer, followed by the field data in its appropriate
    // format.
    
    // encIndirect dereferences pv indir times and returns the result.
    func encIndirect(pv reflect.Value, indir int) reflect.Value {
    	for ; indir > 0; indir-- {
    		if pv.IsNil() {
    			break
    		}
    		pv = pv.Elem()
    	}
    	return pv
    }
    
    // encBool encodes the bool referenced by v as an unsigned 0 or 1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            file('in.txt').touch()
            def inDir = file("in-dir").createDir()
            inDir.file("file").createFile()
            def copy = file("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            Files.move(inDir.toPath(), copy.toPath(), StandardCopyOption.ATOMIC_MOVE)
            inDir.deleteDir()
            inDir.createLink(copy)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/encoding/gob/type.go

    		}
    		if ut.indir%2 == 0 {
    			slowpoke = slowpoke.Elem()
    		}
    		ut.indir++
    	}
    
    	if ok, indir := implementsInterface(ut.user, gobEncoderInterfaceType); ok {
    		ut.externalEnc, ut.encIndir = xGob, indir
    	} else if ok, indir := implementsInterface(ut.user, binaryMarshalerInterfaceType); ok {
    		ut.externalEnc, ut.encIndir = xBinary, indir
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/runtime/cgocall.go

    // is either a pointer to the value (of type t), or the value itself,
    // depending on indir. The top parameter is whether we are at the top
    // level, where Go pointers are allowed. Go pointers to pinned objects are
    // allowed as long as they don't reference other unpinned pointers.
    func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
    	if !t.Pointers() || p == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/cmd/covdata/tool_test.go

    	return dir
    }
    
    const debugtrace = false
    
    func gobuild(t *testing.T, indir string, bargs []string) {
    	t.Helper()
    
    	if debugtrace {
    		if indir != "" {
    			t.Logf("in dir %s: ", indir)
    		}
    		t.Logf("cmd: %s %+v\n", testenv.GoToolPath(t), bargs)
    	}
    	cmd := testenv.Command(t, testenv.GoToolPath(t), bargs...)
    	cmd.Dir = indir
    	b, err := cmd.CombinedOutput()
    	if len(b) != 0 {
    		t.Logf("## build output:\n%s", b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy

        @Requires(UnitTestPreconditions.FilePermissions)
        def "stat a file in an unreadable directory"() {
            def unreadableDir = tmpDir.createDir("unreadableDir")
            def fileInDir = unreadableDir.createFile("inDir")
            unreadableDir.makeUnreadable()
    
            expect:
            def stat = accessor.stat(fileInDir)
            stat.type == FileType.RegularFile
            assertSameLastModified(stat, fileInDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/init.go

    	}
    	dir = filepath.Clean(dir)
    	if rel := search.InDir(dir, cfg.BuildContext.GOROOT); rel != "" {
    		// Don't suggest creating a module from $GOROOT/.git/config
    		// or a config file found in any parent of $GOROOT (see #34191).
    		return "", ""
    	}
    	for {
    		for _, name := range altConfigs {
    			if fi, err := fsys.Stat(filepath.Join(dir, name)); err == nil && !fi.IsDir() {
    				return dir, name
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  9. src/internal/reflectlite/value.go

    	t := v.typ()
    	var i any
    	e := (*abi.EmptyInterface)(unsafe.Pointer(&i))
    	// First, fill in the data portion of the interface.
    	switch {
    	case t.IfaceIndir():
    		if v.flag&flagIndir == 0 {
    			panic("bad indir")
    		}
    		// Value is indirect, and so is the interface we're making.
    		ptr := v.ptr
    		if v.flag&flagAddr != 0 {
    			c := unsafe_New(t)
    			typedmemmove(t, c, ptr)
    			ptr = c
    		}
    		e.Data = ptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/load.go

    		}
    
    		modRoot := findModuleRoot(absDir)
    		found := false
    		for _, mainModuleRoot := range modRoots {
    			if mainModuleRoot == modRoot {
    				found = true
    				break
    			}
    		}
    		if !found && search.InDir(absDir, cfg.GOROOTsrc) == "" && pathInModuleCache(ctx, absDir, rs) == "" {
    			m.Dirs = []string{}
    			scope := "main module or its selected dependencies"
    			if inWorkspaceMode() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top