Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 287 for filename (0.28 sec)

  1. src/cmd/link/internal/ld/pcln.go

    //	   offsetToFilename[1]
    //	   ..
    //
    //	runtime.filetab
    //	   filename[0]
    //	   filename[1]
    //
    // Looking up a filename then becomes:
    //  0. Given a func, and filename index [K]
    //  1. Get Func.CUIndex:       M := func.cuOffset
    //  2. Find filename offset:   fileOffset := runtime.cutab[M+K]
    //  3. Get the filename:       getcstring(runtime.filetab[fileOffset])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/gcimporter_test.go

    	os.Exit(m.Run())
    }
    
    // compile runs the compiler on filename, with dirname as the working directory,
    // and writes the output file to outdirname.
    // compile gives the resulting package a packagepath of testdata/<filebasename>.
    func compile(t *testing.T, dirname, filename, outdirname string, packageFiles map[string]string, pkgImports ...string) string {
    	// filename must end with ".go"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/go/token/position.go

    		i--
    	}
    	return i
    }
    
    // unpack returns the filename and line and column number for a file offset.
    // If adjusted is set, unpack will return the filename and line information
    // possibly adjusted by //line comments; otherwise those comments are ignored.
    func (f *File) unpack(offset int, adjusted bool) (filename string, line, column int) {
    	f.mutex.Lock()
    	filename = f.name
    	if i := searchInts(f.lines, offset); i >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. src/go/types/generate_test.go

    	} else {
    		for file := range filemap {
    			files = append(files, file)
    		}
    	}
    
    	for _, filename := range files {
    		generate(t, filename, write)
    	}
    }
    
    func generate(t *testing.T, filename string, write bool) {
    	// parse src (cmd/compile/internal/types2)
    	srcFilename := filepath.FromSlash(runtime.GOROOT() + srcDir + filename)
    	file, err := parser.ParseFile(fset, srcFilename, nil, parser.ParseComments)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/verification/DependencyVerificationFixture.groovy

                        ),
                        fileName
                    ),
                    key
                )
            }
    
            void addGloballyTrustedKey(String keyId, String group = null, String name = null, String version = null, String fileName = null, boolean regex = false) {
                builder.addTrustedKey(keyId, group, name, version, fileName, regex)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

                        edge('com.acme.external:external:1.0', ':includedBuild', 'com.acme.external:external:2.0-SNAPSHOT') {
                            compositeSubstitute()
                            artifact(name: 'c-foo', fileName: 'c-foo.jar')
                        }
                    }
                }
            }
    
            when:
            run ':a:checkRelease'
    
            then:
            executedAndNotSkipped ':includedBuild:barJar'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    func MakeReadFile(pass *analysis.Pass) func(filename string) ([]byte, error) {
    	return func(filename string) ([]byte, error) {
    		if err := CheckReadable(pass, filename); err != nil {
    			return nil, err
    		}
    		return os.ReadFile(filename)
    	}
    }
    
    // CheckReadable enforces the access policy defined by the ReadFile field of [analysis.Pass].
    func CheckReadable(pass *analysis.Pass, filename string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/LoggingDeprecatedFeatureHandler.java

        private static boolean isGradleScriptElement(StackTraceElement element) {
            String fileName = element.getFileName();
            if (fileName == null) {
                return false;
            }
            fileName = fileName.toLowerCase(Locale.US);
            return fileName.endsWith(".gradle") // ordinary Groovy Gradle script
                || fileName.endsWith(".gradle.kts"); // Kotlin Gradle script
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

        }
    
        void notInJarCache(String filename) {
            inJarCache(filename, false)
        }
    
        TestFile inJarCache(String filename, boolean shouldBeFound = true) {
            String fullpath = result.output.readLines().find { it.matches(">>>file:.*${filename}") }.replace(">>>", "")
            assert fullpath.startsWith(jarsCacheDir.toURI().toString()) == shouldBeFound
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/mime/multipart/multipart.go

    	return p.dispositionParams["name"]
    }
    
    // FileName returns the filename parameter of the [Part]'s Content-Disposition
    // header. If not empty, the filename is passed through filepath.Base (which is
    // platform dependent) before being returned.
    func (p *Part) FileName() string {
    	if p.dispositionParams == nil {
    		p.parseContentDisposition()
    	}
    	filename := p.dispositionParams["filename"]
    	if filename == "" {
    		return ""
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top