Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for someFile (0.15 sec)

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

                name >> "SomeFile.java"
            }
            diagnostic.lineNumber >> 1
            diagnostic.columnNumber | diagnostic.startPosition | diagnostic.endPosition >> Diagnostic.NOPOS
    
            when:
            diagnosticToProblemListener.buildProblem(diagnostic, spec)
    
            then:
            1 * spec.fileLocation("SomeFile.java")
            1 * spec.lineInFileLocation("SomeFile.java", 1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 13:58:13 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy

    }
    
    apply plugin: SomePlugin
    """
        }
    
        protected void prepareMethodUseTest(GradleVersion targetVersion) {
            file("someFile").touch()
            file("anotherFile").touch()
            file("yetAnotherFile").touch()
            file("someDir").createDir()
    
            def apiDepConf = "implementation"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/IncompatibilityCrossVersionSpec.groovy

                import org.gradle.api.*;
                import org.gradle.api.tasks.*;
    
                public class MyTask extends DefaultTask {
                    public MyTask() {
                        getInputs().file("somefile");
                        getInputs().files("afile", "anotherfile");
                        getInputs().dir("someDir");
                        getInputs();
                        getOutputs();
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    🖼, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">👆 💪 ⚙️ `with` ✍ 📁</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    🔘, `open("./somefile.txt")` ✍ 🎚 👈 🤙 "🔑 👨‍💼".
    
    🕐❔ `with` 🍫 🏁, ⚫️ ⚒ 💭 🔐 📁, 🚥 📤 ⚠.
    
    🕐❔ 👆 ✍ 🔗 ⏮️ `yield`, **FastAPI** 🔜 🔘 🗜 ⚫️ 🔑 👨‍💼, &amp; 🌀 ⚫️ ⏮️ 🎏 🔗 🧰.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/internal/coverage/cformat/format.go

    //			for each function F in P: {
    //				for each coverable unit U in F: {
    //					myformatter.AddUnit(U)
    //				}
    //			}
    //		}
    //		myformatter.EmitPercent(os.Stdout, "", true, true)
    //		myformatter.EmitTextual(somefile)
    //
    // These apis are linked into tests that are built with "-cover", and
    // called at the end of test execution to produce text output or
    // emit coverage percentages.
    
    import (
    	"cmp"
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. src/os/types.go

    // SameFile reports whether fi1 and fi2 describe the same file.
    // For example, on Unix this means that the device and inode fields
    // of the two underlying structures are identical; on other systems
    // the decision may be based on the path names.
    // SameFile only applies to results returned by this package's [Stat].
    // It returns false in other cases.
    func SameFile(fi1, fi2 FileInfo) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/os/dir_windows.go

    func (d *dirInfo) init(h syscall.Handle) {
    	d.h = h
    	d.class = windows.FileFullDirectoryRestartInfo
    	// The previous settings are enough to read the directory entries.
    	// The following code is only needed to support os.SameFile.
    
    	// It is safe to query d.vol once and reuse the value.
    	// Hard links are not allowed to reference files in other volumes.
    	// Junctions and symbolic links can reference files and directories in other volumes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inputs/custom-template.yaml.40.values.gen.yaml

       sidecar.istio.io/rewriteAppHTTPProbers: \"false\"\n    foo: bar\nspec:\n  containers:\n  {{- range $index, $container := .Spec.Containers }}\n  - name: {{ $container.Name }}\n    env:\n    - name: SOME_ENV\n      value: \"true\"\n    - name: SOME_FILE\n      value: /var/lib/data/foo.json\n    volumeMounts:\n    - mountPath: /var/lib/data/foo.json\n      subPath: foo.json\n      name: some-injected-file\n  {{- end}}\n  volumes:\n  - name: some-injected-file\n    downwardAPI:\n      items:\n   ...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil_test.go

    	if err != nil {
    		t.Fatalf("Error Stat(): %v", err)
    	}
    	if !SameFile(fi1, fi2) {
    		t.Fatal("Expected the files to be same")
    	}
    	if err = os.WriteFile(tmpFile, []byte("aaa"), 0o644); err != nil {
    		t.Fatal(err)
    	}
    	fi2, err = os.Stat(tmpFile)
    	if err != nil {
    		t.Fatalf("Error Stat(): %v", err)
    	}
    	if SameFile(fi1, fi2) {
    		t.Fatal("Expected the files not to be same")
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go

    			}
    		}
    	}
    
    	fis, err = os.ReadDir(uploaddir)
    	if err != nil {
    		os.MkdirAll(uploaddir, 0777)
    		return ans
    	}
    	// There should be only one of these per day; maybe sometime
    	// we'll want to clean the directory.
    	ans.uploaded = make(map[string]bool)
    	for _, fi := range fis {
    		if strings.HasSuffix(fi.Name(), ".json") {
    			u.logger.Printf("Already uploaded: %s", fi.Name())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top