- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,116 for File_name (0.15 sec)
-
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/TestWithTempFiles.kt
tempFolder.testDirectory.createDir() protected fun file(fileName: String): File = tempFolder.testDirectory.file(fileName) protected fun newFile(fileName: String): File = tempFolder.testDirectory.createFile(fileName) protected fun newFile(fileName: String, text: String): File = newFile(fileName).apply { writeText(text) } protected
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/FolderBasedTest.kt
fun withFile(fileName: String, content: String = ""): File = canonicalFile(fileName).apply { parentFile.mkdirs() writeText(content) } fun existing(fileName: String): File = canonicalFile(fileName).also { require(it.exists()) { "$it doesn't exist" } } fun canonicalFile(fileName: String): File =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/plugins/readme.xml
<para>This sample contains the following projects:</para> <itemizedlist> <listitem> <para>The <filename>buildscript</filename> directory contains a project that uses the old <code>buildscript</code> syntax for using plugins.</para> </listitem> <listitem> <para>The <filename>dsl</filename> directory contains the a project that uses the new <code>plugins</code> syntax for using plugins.</para> </listitem>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
src/os/read_test.go
} func TestReadFile(t *testing.T) { t.Parallel() filename := "rumpelstilzchen" contents, err := ReadFile(filename) if err == nil { t.Fatalf("ReadFile %s: error expected, none found", filename) } filename = "read_test.go" contents, err = ReadFile(filename) if err != nil { t.Fatalf("ReadFile %s: %v", filename, err) } checkNamedSize(t, filename, int64(len(contents))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 02:36:46 UTC 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
args: []string{"--filename", validFilenameJSON, "--filename", tempDirJSON, "--filename", validTempDirJSON}, wantError: true, // Since the directory has invalid files }, { name: "validate mix of yaml and json directories with valid files", args: []string{"--filename", validTempDirYAML, "--filename", validTempDirJSON}, wantError: false, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 08:08:36 UTC 2023 - 21.5K bytes - Viewed (0) -
src/image/decode_test.go
} func decode(filename string) (image.Image, string, error) { f, err := os.Open(filename) if err != nil { return nil, "", err } defer f.Close() return image.Decode(bufio.NewReader(f)) } func decodeConfig(filename string) (image.Config, string, error) { f, err := os.Open(filename) if err != nil { return image.Config{}, "", err } defer f.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:51:48 UTC 2019 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/pos.go
type position_ struct { filename string line, col uint } func (p position_) String() string { if p.line == 0 { if p.filename == "" { return "<unknown position>" } return p.filename } if p.col == 0 { return fmt.Sprintf("%s:%d", p.filename, p.line) } return fmt.Sprintf("%s:%d:%d", p.filename, p.line, p.col) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 20:44:57 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/test/util/file/file.go
) // AsBytes is a simple wrapper around os.ReadFile provided for completeness. func AsBytes(filename string) ([]byte, error) { return os.ReadFile(filename) } // AsBytesOrFail calls AsBytes and fails the test if any errors occurred. func AsBytesOrFail(t test.Failer, filename string) []byte { t.Helper() content, err := AsBytes(filename) if err != nil { t.Fatal(err) } return content }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 17 02:22:22 UTC 2023 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java
class Trans2FindNext2 extends SmbComTransaction { private int sid, informationLevel, resumeKey, flags; private String filename; Trans2FindNext2( int sid, int resumeKey, String filename ) { this.sid = sid; this.resumeKey = resumeKey; this.filename = filename; command = SMB_COM_TRANSACTION2; subCommand = TRANS2_FIND_NEXT2;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/ComponentFileArtifactIdentifier.java
private final ComponentIdentifier componentId; private final String fileName; public ComponentFileArtifactIdentifier(ComponentIdentifier componentId, String fileName) { this.componentId = componentId; this.fileName = fileName; } @Override public ComponentIdentifier getComponentIdentifier() { return componentId; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 2.2K bytes - Viewed (0)