Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for topat (0.02 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 931 bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/ResourcePublicSuffixList.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import okio.FileSystem
    import okio.Path
    import okio.Path.Companion.toPath
    import okio.Source
    
    internal class ResourcePublicSuffixList(
      override val path: Path = PUBLIC_SUFFIX_RESOURCE,
      val fileSystem: FileSystem = FileSystem.Companion.RESOURCES,
    ) : BasePublicSuffixList() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

    import okio.Path
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slow")
    class OsgiTest {
      private lateinit var testResourceDir: Path
      private lateinit var workspaceDir: Path
    
      @BeforeEach
      fun setUp() {
        testResourceDir = "./build/resources/test/okhttp3/osgi".toPath()
        workspaceDir = testResourceDir / "workspace"
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Cache
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    
    abstract class BaseOkHttpClientUnitTest {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            if (!baseDir.exists()) {
                return 0;
            }
            try {
                final FilePurgeVisitor visitor = new FilePurgeVisitor(baseDir.toPath(), imageExtention, expiry);
                Files.walkFileTree(baseDir.toPath(), visitor);
                return visitor.getCount();
            } catch (final Exception e) {
                throw new JobProcessingException(e);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

    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()
    
      val sslLabsClients = SslLabsClient(client).clients()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

            validateApi(body, messages -> {});
            return asStream("badword.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        badWordService.exportCsv(writer);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          assertThat(file.getName()).contains("FileBackedOutputStream");
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE);
          }
        }
        out.close();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            final Path confPath = getConfPath(names);
            if (Files.exists(confPath)) {
                return confPath;
            }
            return org.codelibs.core.io.ResourceUtil.getResourceAsFile(String.join("/", names)).toPath();
        }
    
        /**
         * Gets the path to compiled classes directory.
         *
         * @param names the path components to append to the classes directory
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.RecordingEventListener
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top