- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 207 for fileSystem (0.17 sec)
-
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FallbackStat.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.nativeintegration.filesystem.services; import org.gradle.internal.file.FileModeAccessor; import org.gradle.internal.nativeintegration.filesystem.FileSystem; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; class FallbackStat implements FileModeAccessor {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DirectoryTrees.java
import org.gradle.api.internal.file.DefaultFileTreeElement; import org.gradle.internal.nativeintegration.filesystem.FileSystem; import java.io.File; public abstract class DirectoryTrees { private DirectoryTrees() { } public static boolean contains(FileSystem fileSystem, DirectoryTree tree, File file) { String prefix = tree.getDir().getAbsolutePath() + File.separator;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileTreeElement.java
this.relativePath = relativePath; this.stat = stat; } public static DefaultFileTreeElement of(File file, FileSystem fileSystem) { RelativePath path = RelativePath.parse(!file.isDirectory(), file.getAbsolutePath()); return new DefaultFileTreeElement(file, path, fileSystem, fileSystem); } @Override public File getFile() { return file; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeSpec.groovy
import org.gradle.api.Action import org.gradle.api.file.FileVisitDetails import org.gradle.api.file.FileVisitor import org.gradle.api.internal.file.FileTreeInternal import org.gradle.internal.nativeintegration.filesystem.FileSystem import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.gradle.util.UsesNativeServices import org.junit.Rule import spock.lang.Specification @UsesNativeServices
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt
class PostPath { private val client = OkHttpClient() private val fileSystem = FakeFileSystem() val path = "test.json".toPath() fun run() { fileSystem.write(path) { writeUtf8("{}") } val request = Request.Builder() .url("https://httpbin.org/anything") .put(path.asRequestBody(fileSystem, MEDIA_TYPE_JSON)) .build()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/caching/internal/BuildCacheServices.java
private final FileSystem fileSystem; public FilePermissionsAccessAdapter(FileSystem fileSystem) { this.fileSystem = fileSystem; } @Override public int getUnixMode(File f) throws FileException { return fileSystem.getUnixMode(f); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 8.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
* * * The resulting file is used by [PublicSuffixDatabase]. */ class PublicSuffixListGenerator( projectRoot: Path = ".".toPath(), val fileSystem: FileSystem = FileSystem.SYSTEM, val client: OkHttpClient = OkHttpClient(), ) { private val resources = projectRoot / "okhttp/src/main/resources/okhttp3/internal/publicsuffix"
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 6K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/local/LocalFileStandInExternalResource.java
} }; private final File localFile; private final FileSystem fileSystem; private final FileResourceListener listener; public LocalFileStandInExternalResource(File localFile, FileSystem fileSystem, FileResourceListener listener) { this.localFile = localFile; this.fileSystem = fileSystem; this.listener = listener; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 8.5K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
.build() private val STORY_JSON_ADAPTER = MOSHI.adapter(Story::class.java) private val fileSystem = FileSystem.SYSTEM private fun readStory(source: BufferedSource): Story { return STORY_JSON_ADAPTER.fromJson(source)!! } private fun readStory(file: Path): Story { fileSystem.read(file) { return readStory(this) } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt
import okhttp3.internal.connection.Exchange import okhttp3.internal.connection.RealCall import okhttp3.internal.connection.RealConnection import okio.FileSystem import okio.Path internal fun buildCache( file: Path, maxSize: Long, fileSystem: FileSystem, ): Cache { return Cache(fileSystem, file, maxSize) } internal var RealConnection.idleAtNsAccessor: Long get() = idleAtNs set(value) { idleAtNs = value }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 1.3K bytes - Viewed (0)