Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 245 for isfile (0.12 sec)

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

    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

            println(key)
            println(value.content)
          }
        }
      }
    
      @JsonClass(generateAdapter = true)
      data class Gist(var files: Map<String, GistFile>?)
    
      @JsonClass(generateAdapter = true)
      data class GistFile(var content: String?)
    }
    
    fun main() {
      ParseResponseWithMoshi().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. android/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. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

            val releasedVersionsFileObject = releasedVersionsFile.get().asFile
    
            updateReleasedVersionFile(releasedVersionsFileObject, currentReleasedVersionValue)
        }
    
        companion object {
    
            private
            fun updateReleasedVersionFile(releasedVersionsFile: File, currentReleasedVersion: ReleasedVersion) {
                val releasedVersions = releasedVersionsFile.reader().use {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

        @InputDirectory
        abstract DirectoryProperty getJsonFileDirectory()
    
        @TaskAction
        void clean() {
            def jsonFileManager = new AcceptedApiChangesJsonFileManager()
            jsonFileDirectory.asFile.get().listFiles()
                ?.findAll { it.name.endsWith(".json") }
                ?.each { jsonFileManager.emptyAcceptedApiChanges(it) }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 08:27:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        Future<?> possiblyIgnoredError1 = serializer.submitAsync(thirdCallable, directExecutor());
        secondFuture.cancel(true);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isTrue();
      }
    
      public void testCancellationMultipleThreads() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                }
            }
        }
    
        private
        fun forEachJavaProcess(action: (pid: String, line: String) -> Unit) {
            KillLeakingJavaProcesses.forEachLeakingJavaProcess(parameters.rootProjectDir.asFile.get(), action)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy

        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File baselineJarsDirectory = artifact.get().asFile
            if (baselineJarsDirectory.name == 'gradle-jars') {
                baselineJarsDirectory.listFiles().each {
                    outputs.file(it)
                }
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 11 12:20:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

                val sortedContributors = contributorsToUpdate.entries.sortedBy { (it.value.name ?: it.key).toLowerCase() }
                val (linesBeforeContributors, _, linesAfterContributors) = parseReleaseNotes()
                releaseNotes.asFile.get().writeText(
                    "${linesBeforeContributors.joinToString("\n")}\n${sortedContributors.joinToString(",\n") { "[${it.value.name ?: it.key}](https://github.com/${it.key})" }}\n\n${linesAfterContributors.joinToString("\n")}\n"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 11:42:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Verify the peer received what was expected.
        val synStream = peer.takeFrame()
        assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS)
        assertThat(synStream.inFinished).isFalse()
        assertThat(synStream.outFinished).isFalse()
        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top