Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for firstLine (0.05 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          }
    
          client
            .newCall(request)
            .execute()
            .use {
              val firstLine =
                it.body
                  .string()
                  .lines()
                  .first()
              if (this.launch != CommandLine) {
                println("${it.code} ${it.request.url.host} $firstLine")
              }
              Unit
            }
        } catch (e: IOException) {
          System.err.println(e)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
    
        StackTraceException e = new StackTraceException("my message");
    
        String firstLine = quote(e.getClass().getName() + ": " + e.getMessage());
        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
    
        StackTraceException e = new StackTraceException("my message");
    
        String firstLine = quote(e.getClass().getName() + ": " + e.getMessage());
        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                thread.join();
            }
    
            // All threads should see the updated time (not 0 or the old value)
            long firstTime = observedTimes[0];
            assertTrue(firstTime > 0, "Time should be updated");
            for (int i = 1; i < 10; i++) {
                Assertions.assertEquals(firstTime, observedTimes[i], "All threads should see same time due to volatile");
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/Monitor.java

          throws InterruptedException {
        boolean firstTime = true;
        try {
          do {
            if (nanos <= 0L) {
              return false;
            }
            if (firstTime) {
              if (signalBeforeWaiting) {
                signalNextWaiter();
              }
              beginWaitingFor(guard);
              firstTime = false;
            }
            nanos = guard.condition.awaitNanos(nanos);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
Back to Top