- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 52 for fileFor (0.14 sec)
-
platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/ResourceGeneratingProcessorFixture.groovy
outputLocations = locations this } String getGeneratorCode() { def outputs = outputLocations.collect { """ resourceFile = filer.createResource($it, \"\", resourceName${providesNoOriginatingElements ? '' : ', element'}); writer = resourceFile.openWriter(); try { writer.write("We did it."); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy
for (Element element : elements) { TypeElement typeElement = (TypeElement) element; String className = typeElement.getSimpleName().toString() + "Helper"; try { JavaFileObject sourceFile = filer.createSourceFile(className, ${withMultipleOriginatingElements ? "elements.toArray(new Element[0])" : "element"}); Writer writer = sourceFile.openWriter(); try { writer.write("class " + className + " {");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/NonIncrementalProcessorFixture.groovy
""" for (Element element : elements) { TypeElement typeElement = (TypeElement) element; String className = typeElement.getSimpleName().toString() + "Thing"; try { JavaFileObject sourceFile = filer.createSourceFile(className${providesNoOriginatingElements ? "" : ", element"}); Writer writer = sourceFile.openWriter(); try { writer.write("class " + className + " {");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2K bytes - Viewed (0) -
src/syscall/syscall_netbsd.go
} } if len(mib) != partno+1 { return nil, EINVAL } } return mib, nil } func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 7.8K bytes - Viewed (0) -
src/syscall/syscall_openbsd.go
default: right = idx - 1 } if left > right { break } } return nil, EINVAL } func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 10:34:00 UTC 2023 - 7K bytes - Viewed (0) -
platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/PackageInfoGeneratedClassProcessorFixture.groovy
mv.visitInsn(org.objectweb.asm.Opcodes.RETURN); mv.visitEnd(); classWriter.visitEnd(); try { JavaFileObject classFile = filer.createClassFile(className, element); OutputStream out = classFile.openOutputStream(); try { out.write(classWriter.toByteArray()); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.9K bytes - Viewed (0) -
src/syscall/syscall_freebsd.go
return nil, err } return buf[0 : n/siz], nil } func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.7K bytes - Viewed (0) -
src/syscall/syscall_dragonfly.go
return nil, err } return buf[0 : n/siz], nil } func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { namlen, ok := direntNamlen(buf) if !ok { return 0, false } return (16 + namlen + 1 + 7) &^ 7, true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.5K bytes - Viewed (0) -
pkg/util/filesystem/util_windows.go
// we need to dial the file and check if we receive an error to determine if a file is Unix Domain Socket file. // Note that querrying for the Reparse Points (https://docs.microsoft.com/en-us/windows/win32/fileio/reparse-points) // for the file (using FSCTL_GET_REPARSE_POINT) and checking for reparse tag: reparseTagSocket // does NOT work in 1809 if the socket file is created within a bind mounted directory by a container
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 4K bytes - Viewed (0) -
src/os/path_windows.go
// directory results in a path that is too long, fixLongPath returns // the absolute path with the extended-length prefix. // // See https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation func fixLongPath(path string) string { if windows.CanUseLongPaths { return path } return addExtendedPrefix(path) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 4.7K bytes - Viewed (0)