Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 485 for filename (0.15 sec)

  1. src/debug/macho/file_test.go

    }
    
    func TestOpenFatFailure(t *testing.T) {
    	filename := "file.go" // not a Mach-O file
    	if _, err := OpenFat(filename); err == nil {
    		t.Errorf("OpenFat %s: succeeded unexpectedly", filename)
    	}
    
    	filename = "testdata/gcc-386-darwin-exec.base64" // not a fat Mach-O
    	ff, err := openFatObscured(filename)
    	if err != ErrNotFat {
    		t.Errorf("OpenFat %s: got %v, want ErrNotFat", filename, err)
    	}
    	if ff != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      // the new one and remove the file from cache.
      bool ValidateAndUpdateFileSignature(const std::string& filename,
                                          int64_t file_signature)
          ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Remove all cached blocks for `filename`.
      void RemoveFile(const std::string& filename) ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Remove all cached data.
      void Flush() ABSL_LOCKS_EXCLUDED(mu_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:46:34 UTC 2020
    - 10.6K 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. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReaderTest.groovy

            trusted[2].fileName == null
            trusted[2].regex == true
    
            trusted[3].group == "group"
            trusted[3].name == "module"
            trusted[3].version == "1.1"
            trusted[3].fileName == "somefile.jar"
            trusted[3].regex == false
    
            trusted[4].group == "group2"
            trusted[4].name == "module2"
            trusted[4].version == "1.2"
            trusted[4].fileName == "somefile.jar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 10:13:31 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top