Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 717 for filename (0.12 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-minify/groovy/build.gradle

        @Override
        void transform(TransformOutputs outputs) {
            def fileName = inputArtifact.get().asFile.name
            for (entry in parameters.keepClassesByArtifact) {      // <3>
                if (fileName.startsWith(entry.key)) {
                    def nameWithoutExtension = fileName.substring(0, fileName.length() - 4)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultIvyArtifactName.java

            String fileName = file.getName();
            return forFileName(fileName, classifier);
        }
    
        public static DefaultIvyArtifactName forFileName(String fileName, @Nullable String classifier) {
            String name = Files.getNameWithoutExtension(fileName);
            String extension = Files.getFileExtension(fileName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	}
    
    	tests := []struct {
    		name     string
    		filename string
    		want     bool
    	}{
    		{
    			name:     "file exist",
    			filename: tmpfile.Name(),
    			want:     true,
    		},
    		{
    			name:     "file does not exist",
    			filename: "foo",
    			want:     false,
    		},
    		{
    			name:     "file path is a dir",
    			filename: tmpdir,
    			want:     false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue26411.go

    			},
    		},
    	}
    
    	for i, test := range tests {
    		filename := filepath.Join(tmpdir, fmt.Sprintf("%d.go", i))
    		if err := ioutil.WriteFile(filename, []byte(test.code), 0644); err != nil {
    			log.Printf("#%d: failed to create file %s", i, filename)
    			continue
    		}
    		output, _ := exec.Command("go", "tool", "compile", "-p=p", filename).CombinedOutput()
    
    		// remove each matching error from the output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/problems/DefaultProblemLocationAnalyzerTest.groovy

        def element = new StackTraceElement("class", "method", "filename", 7)
        def callerElement = new StackTraceElement("class", "method", "filename", 11)
        def otherElement = new StackTraceElement("class", "method", "otherfile", 11)
        def elementWithNoSourceFile = new StackTraceElement("class", "method", null, 11)
        def elementWithNoLineNumber = new StackTraceElement("class", "method", "filename", -1)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

    
        /**
         * 
         * @param config
         * @param filename
         * @param informationLevel
         */
        public Trans2QueryPathInformation ( Configuration config, String filename, int informationLevel ) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_QUERY_PATH_INFORMATION);
            this.path = filename;
            this.informationLevel = informationLevel;
            this.totalDataCount = 0;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ExtractPrecompiledScriptPluginPluginsTest.kt

                outputDir,
                scriptPlugins.asList()
            )
        }
    
        private
        fun outputFile(fileName: String) = outputDir.resolve(fileName)
    
        private
        fun scriptPlugin(fileName: String, text: String) = PrecompiledScriptPlugin(newFile(fileName, text))
    
        private
        fun String.replacedBySpaces() = repeat(' ', length)
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
            return result;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/image/jpeg/writer_test.go

    	}
    	return d
    }
    
    func readPng(filename string) (image.Image, error) {
    	f, err := os.Open(filename)
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    	return png.Decode(f)
    }
    
    func TestWriter(t *testing.T) {
    	for _, tc := range testCase {
    		// Read the image.
    		m0, err := readPng(tc.filename)
    		if err != nil {
    			t.Error(tc.filename, err)
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  10. pkg/config/mesh/networks_watcher.go

    func NewNetworksWatcher(fileWatcher filewatcher.FileWatcher, filename string) (NetworksWatcher, error) {
    	meshNetworks, err := ReadMeshNetworks(filename)
    	if err != nil {
    		return nil, fmt.Errorf("failed to read mesh networks configuration from %q: %v", filename, err)
    	}
    
    	networksdump, _ := protomarshal.ToJSONWithIndent(meshNetworks, "   ")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top