Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for readLines (0.22 sec)

  1. .github/workflows/CheckBadMerge.groovy

            try {
                List<String> mergeCommitFileLines = showFileOnCommit(mergeCommit, filePath).readLines()
                List<String> masterCommitFileLines = showFileOnCommit(masterCommit, filePath).readLines()
                List<String> releaseCommitFileLines = showFileOnCommit(releaseCommit, filePath).readLines()
                for (String line in mergeCommitFileLines) {
                    if (line.trim().isEmpty()) {
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

       * @throws IOException if an I/O error occurs
       */
      public static List<String> readLines(File file, Charset charset) throws IOException {
        // don't use asCharSource(file, charset).readLines() because that returns
        // an immutable list, which would change the behavior of this method
        return asCharSource(file, charset)
            .readLines(
                new LineProcessor<List<String>>() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

          RuntimeReflection.register(it)
        }
      }
    
      private fun registerKnownTests(access: Feature.BeforeAnalysisAccess) {
        val knownTestFile = File("src/main/resources/testlist.txt").absoluteFile
        knownTestFile.readLines().forEach {
          try {
            val testClass = access.findClassByName(it)
    
            if (testClass != null) {
              access.registerAsUsed(testClass)
              registerTest(access, testClass)
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

     */
    fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
      val sampleTestClass = SampleTest::class.java
    
      val lines =
        inputFile?.readLines() ?: sampleTestClass.getResource("/testlist.txt").readText().lines()
    
      val flatClassnameList =
        lines
          .filter { it.isNotBlank() }
    
      return flatClassnameList
        .mapNotNull {
          try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val reader = BufferedReader(InputStreamReader(connection.inputStream, UTF_8))
        assertThat(connection.responseCode).isEqualTo(HttpURLConnection.HTTP_OK)
        assertThat(reader.readLine()).isEqualTo("hello world")
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1")
        assertThat(request.headers["Accept-Language"]).isEqualTo("en-US")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val reader = BufferedReader(InputStreamReader(inputStream, StandardCharsets.UTF_8))
        assertThat(connection.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK)
        assertThat(reader.readLine()).isEqualTo("hello world")
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1")
        assertThat(request.getHeader("Accept-Language")).isEqualTo("en-US")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt

      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
      fun readHeaders(): Headers {
        val result = Headers.Builder()
        while (true) {
          val line = readLine()
          if (line.isEmpty()) break
          result.addLenient(line)
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. cmd/globals.go

    	globalLifecycleSys       *LifecycleSys
    	globalBucketSSEConfigSys *BucketSSEConfigSys
    	globalBucketTargetSys    *BucketTargetSys
    	// globalAPIConfig controls S3 API requests throttling,
    	// healthCheck readiness deadlines and cors settings.
    	globalAPIConfig = apiConfig{listQuorum: "strict", rootAccess: true}
    
    	globalStorageClass storageclass.Config
    
    	globalAuthNPlugin *idplugin.AuthNPlugin
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ReaderUtil.java

         * @return 一行の文字列。終端に達した場合は{@literal null}
         * @see BufferedReader#readLine()
         */
        public static String readLine(final BufferedReader reader) {
            assertArgumentNotNull("reader", reader);
    
            try {
                return reader.readLine();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final boolean apply) {
            final String[] readings;
            if (StringUtil.isBlank(reading)) {
                readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            } else {
                readings = reading.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP);
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top