Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 86 for Filesystem (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with unknown filesystem info class throws exception")
        void testReadBytesWireFormatUnknownFilesystemInfoClass() {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILESYSTEM, (byte) 99); // Unknown filesystem info class
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    @Suppress("ktlint:standard:property-naming")
    suspend fun main() {
      val includeConscrypt = false
    
      val client =
        OkHttpClient
          .Builder()
          .cache(Cache(FileSystem.SYSTEM, "build/okhttp_cache".toPath(), 100_000_000))
          .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

     */
    package org.apache.maven.toolchain;
    
    import java.io.File;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    
    /**
     * Builds the toolchains model from a previously configured filesystem path to the toolchains file.
     * <strong>Note:</strong> This is an internal component whose interface can change without prior notice.
     *
     * @deprecated use {@link org.apache.maven.toolchain.building.ToolchainsBuilder} instead
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

     */
    internal fun FileSystem.isCivilized(file: Path): Boolean {
      sink(file).use {
        try {
          delete(file)
          return true
        } catch (_: IOException) {
        }
      }
      delete(file)
      return false
    }
    
    /** Delete file we expect but don't require to exist. */
    internal fun FileSystem.deleteIfExists(path: Path) {
      try {
        delete(path)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals(1, Smb2Constants.SMB2_0_INFO_FILE, "File info level must be 1");
            }
    
            @Test
            @DisplayName("Filesystem info level should be 2")
            void testInfoFilesystem() {
                assertEquals(2, Smb2Constants.SMB2_0_INFO_FILESYSTEM, "Filesystem info level must be 2");
            }
    
            @Test
            @DisplayName("Security info level should be 3")
            void testInfoSecurity() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /** Confirm we get the expected table whether we build it from the .txt file or compact that. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

    import java.net.InetSocketAddress
    import java.net.UnknownHostException
    import java.util.Arrays
    import java.util.concurrent.ThreadFactory
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.FileSystem
    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.api.Assumptions.assumeTrue
    
    object TestUtil {
      @JvmField
      val UNREACHABLE_ADDRESS_IPV4 = InetSocketAddress("198.51.100.1", 8080)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

    import kotlin.test.assertFailsWith
    import okhttp3.internal.publicsuffix.ResourcePublicSuffixList.Companion.PUBLIC_SUFFIX_RESOURCE
    import okhttp3.internal.toCanonicalHost
    import okhttp3.okHttpRoot
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.Before
    import org.junit.Test
    import org.junit.runner.RunWith
    
    @RunWith(PublicSuffixTestRunner::class)
    class PublicSuffixDatabaseTest {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

         */
        public int getInformationLevel() {
            return this.informationLevel;
        }
    
        /**
         * Gets the file system information from the response.
         *
         * @return the filesystem info
         */
        public FileSystemInformation getInfo() {
            return this.info;
        }
    
        /**
         * Gets the file system information from the response cast to the specified type.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            // I'm fully aware that the file could just be moved using File.rename but
            // there are bugs in various JVM that have problems doing this across
            // different filesystem. So we'll incur the small hit to actually copy
            // here and be safe. jvz.
            // ----------------------------------------------------------------------------
    
            try {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top