Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 245 for isfile (0.08 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.util.concurrent.CopyOnWriteArraySet
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import kotlin.test.assertFailsWith
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
      public static void main(String... args) throws Exception {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Test
      public void hasEdgeConnecting_mismatch() {
        putEdge(N1, N2);
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(N1, N2))).isFalse();
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(N2, N1))).isFalse();
      }
    
      @Test
      public void adjacentNodes_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        putEdge(N1, N2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
    
        // Running at time 60, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(60L)).isEqualTo(90L)
        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
    
        // Running at time 149, the pool returns that nothing can be evicted until time 150.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

        val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD")
    
        @Suppress("UnstableApiUsage")
        private
        fun git(vararg args: String): Provider<String> {
            val projectDir = parameters.rootProjectDir.asFile.get()
            val execOutput = providers.exec {
                workingDir = projectDir
                isIgnoreExitValue = true
                commandLine = listOf("git", *args)
                if (OperatingSystem.current().isWindows) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 10:02:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy

        @Override
        void transform(TransformOutputs outputs) {
            File artifactFile = artifact.get().asFile
            if (artifactFile.name == 'gradle-dependencies') {
                (artifactFile.listFiles() as List<File>).sort { it.name }.each {
                    outputs.file(it)
                }
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

        init {
            lowestTestedVersion = GradleVersion.version("3.0")
            lowestInterestingVersion = GradleVersion.version("0.8")
    
            val releasedVersions = releasedVersionsFile.asFile.reader().use {
                Gson().fromJson(it, ReleasedVersions::class.java)
            }
    
            val latestFinalRelease = releasedVersions.finalReleases.first()
            val latestRelease =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

    import org.gradle.api.DefaultTask
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.InputDirectory
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import java.io.File
    
    
    /**
     * Abstract base class for [Task][org.gradle.api.Task]s that verify and manipulate the given accepted API changes file.
     */
    @CacheableTask
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertThat(filesystem.exists(getCleanFile("g1", 0))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g1", 1))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g2", 0))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g2", 1))).isFalse()
        assertThat(filesystem.exists(cacheDir / "otherFile0")).isFalse()
        assertThat(filesystem.exists(cacheDir / "dir1")).isFalse()
      }
    
      private operator fun set(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

        }
    
        @Test
        public void inFile() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 });
            assertFalse(cos.done);
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(cos.done);
            assertTrue(file.exists());
            cos.close();
            assertTrue(cos.done);
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top