Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 151 for Filesystem (0.09 sec)

  1. internal/disk/type_linux.go

    	"ef51":     "EXT2OLD",
    	"ef53":     "EXT4",
    	"f15f":     "ecryptfs",
    	"794c7630": "overlayfs",
    	"2fc12fc1": "zfs",
    	"ff534d42": "cifs",
    	"53464846": "wslfs",
    }
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(ftype int64) string {
    	fsTypeHex := strconv.FormatInt(ftype, 16)
    	fsTypeString, ok := fsType2StringMap[fsTypeHex]
    	if !ok {
    		return "UNKNOWN"
    	}
    	return fsTypeString
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

      }
    
      private fun corruptMetadata(corruptor: (String) -> String) {
        val metadataFile =
          fileSystem.allPaths.find {
            it.name.endsWith(".0")
          }
    
        if (metadataFile != null) {
          val contents =
            fileSystem.read(metadataFile) {
              readUtf8()
            }
    
          fileSystem.write(metadataFile) {
            writeUtf8(corruptor(contents))
          }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/PublicSuffixDatabaseTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isGreaterThan
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    import okhttp3.testing.PlatformRule
    import okio.FileSystem
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class PublicSuffixDatabaseTest {
      @RegisterExtension
      @JvmField
      val platform = PlatformRule()
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:33:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

     */
    class PublicSuffixDatabase internal constructor(
      val path: Path = PUBLIC_SUFFIX_RESOURCE,
      val fileSystem: FileSystem = FileSystem.RESOURCES,
    ) {
      /** True after we've attempted to read the list for the first time. */
      private val listRead = AtomicBoolean(false)
    
      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. 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 {
      return Client(
        userAgent = "OkHttp",
        version = OkHttp.VERSION,
        enabled =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

    import org.gradle.api.tasks.TaskAction;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.net.URI;
    import java.nio.file.FileSystem;
    import java.nio.file.FileSystems;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.StandardCopyOption;
    import java.util.Collections;
    
    /**
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 22 22:15:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. internal/disk/stat_linux_32bit.go

    	"ef51":     "EXT2OLD",
    	"ef53":     "EXT4",
    	"f15f":     "ecryptfs",
    	"794c7630": "overlayfs",
    	"2fc12fc1": "zfs",
    	"ff534d42": "cifs",
    	"53464846": "wslfs",
    }
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(ftype int32) string {
    	fsTypeHex := strconv.FormatInt(int64(ftype), 16)
    	fsTypeString, ok := fsType2StringMap[fsTypeHex]
    	if !ok {
    		return "UNKNOWN"
    	}
    	return fsTypeString
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. internal/disk/type_bsd.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(fstype []int8) string {
    	b := make([]byte, len(fstype))
    	for i, v := range fstype {
    		b[i] = byte(v)
    	}
    	return string(b)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

    class Cache internal constructor(
      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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top