- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 86 for Filesystem (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
fun Path.asRequestBody( fileSystem: FileSystem, contentType: MediaType? = null, ): RequestBody = object : RequestBody() { override fun contentType() = contentType override fun contentLength() = fileSystem.metadata(this@asRequestBody).size ?: -1 override fun writeTo(sink: BufferedSink) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 9K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import okhttp3.ConnectionSpec import okhttp3.OkHttp import okhttp3.survey.types.Client import okhttp3.survey.types.SuiteId import okio.FileSystem import okio.Path.Companion.toPath import org.conscrypt.Conscrypt fun currentOkHttp(ianaSuites: IanaSuites): Client = Client( userAgent = "OkHttp", version = OkHttp.VERSION, enabled =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* * @param path the filesystem path to the source content * @throws NullPointerException if path is null */ PathSource(Path path) { this(path, null); } /** * Constructs a new PathSource with the specified path and location. * * @param path the filesystem path to the source content
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
directory: Path, maxSize: Long, fileSystem: FileSystem, taskRunner: TaskRunner, ) : Closeable, Flushable { /** Create a cache of at most [maxSize] bytes in [directory]. */ constructor( fileSystem: FileSystem, directory: Path, maxSize: Long, ) : this( directory, maxSize, fileSystem, TaskRunner.INSTANCE, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt
import java.nio.file.Path import okhttp3.MediaType.Companion.toMediaType import okhttp3.RequestBody.Companion.asRequestBody import okhttp3.RequestBody.Companion.toRequestBody import okio.Buffer import okio.FileSystem import okio.Path.Companion.toOkioPath import org.junit.jupiter.api.Assertions.assertThrows import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (1) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
} /** * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent * behavior, this method accepts both the forward slash and the backward slash as separator. * * @param path The filesystem path, may be <code>null</code>. * @return The altered filesystem path or <code>null</code> if the input path was <code>null</code>. */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
import java.io.File import okio.FileSystem import okio.Path.Companion.toPath fun main(vararg args: String) { val data = loadIdnaMappingTableData() val file = generateMappingTableFile(data) file.writeTo(File(args[0])) } fun loadIdnaMappingTableData(): IdnaMappingTableData { val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath() val table = FileSystem.RESOURCES.read(path) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/resources/mail/crawler.dfmail
>>> --- Server Info --- Host Name: /*pmb.hostname:orElse('Unknown')*/ Job Name: /*pmb.jobname:orElse('Unknown')*/ --- Web/FileSystem Crawler --- Start Time: /*pmb.webFsCrawlStartTime:orElse('-')*/ End Time: /*pmb.webFsCrawlEndTime:orElse('-')*/ Exec Time: /*pmb.webFsCrawlExecTime:orElse('-')*/ ms --- Web/FileSystem Indexer --- Exec Time: /*pmb.webFsIndexExecTime:orElse('-')*/ ms Num of Doc: /*pmb.webFsIndexSize:orElse('-')*/ docs
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Wed Jan 15 22:05:20 UTC 2020 - 1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
* limitations under the License. */ package okhttp3.internal.io import java.io.IOException import okio.Buffer import okio.FileSystem import okio.ForwardingFileSystem import okio.ForwardingSink import okio.Path import okio.Sink class FaultyFileSystem constructor( delegate: FileSystem?, ) : ForwardingFileSystem(delegate!!) { private val writeFaults: MutableSet<Path> = LinkedHashSet()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
} /** * Data transfer object representing filesystem statistics. */ public static class FsObj { /** * Default constructor. */ public FsObj() { // Default constructor } /** The percentage of used space on the filesystem. */ public short percent; /** Used space in bytes */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.7K bytes - Viewed (0)