Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 412 for starp (0.08 sec)

  1. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += System.nanoTime() - start;
        }
        return total;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

        public SearchForm() {
            super();
        }
    
        // advance
    
        @Override
        public int getStartPosition() {
            if (start == null) {
                start = ComponentUtil.getFessConfig().getPagingSearchPageStartAsInteger();
            }
            return start;
        }
    
        @Override
        public int getOffset() {
            if (offset == null) {
                offset = 0;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

        delegate.enqueue(response.wrap())
      }
    
      @Throws(IOException::class)
      @JvmOverloads
      fun start(port: Int = 0) {
        started = true
        delegate.start(port)
      }
    
      @Throws(IOException::class)
      fun start(
        inetAddress: InetAddress,
        port: Int,
      ) {
        started = true
        delegate.start(inetAddress, port)
      }
    
      @Synchronized
      @Throws(IOException::class)
      fun shutdown() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 00:19:42 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // get called correctly.
        for (int i = 0; i < 20; i++) {
    
          // Right in the middle start up a thread to close the latch.
          if (i == 10) {
            new Thread(() -> latch.countDown()).start();
          }
    
          future.addListener(listenerLatch::countDown, exec);
        }
    
        assertSame(Boolean.TRUE, future.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      }
    
      @AfterEach
      fun tearDown() {
        Thread.interrupted() // Clear interrupted state.
      }
    
      @Test
      fun interruptWritingRequestBody() {
        server.enqueue(MockResponse())
        server.start()
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .post(
                object : RequestBody() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/PercentEscaper.java

          // Single byte UTF-8 characters
          // Start with "%--" and fill in the blanks
          char[] dest = new char[3];
          dest[0] = '%';
          dest[2] = upperHexDigits[cp & 0xF];
          dest[1] = upperHexDigits[cp >>> 4];
          return dest;
        } else if (cp <= 0x7ff) {
          // Two byte UTF-8 characters [cp >= 0x80 && cp <= 0x7ff]
          // Start with "%--%--" and fill in the blanks
          char[] dest = new char[6];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

          // Iterate through the parts of the ip string.
          // Invariant: start is always the beginning of a hextet, or the second ':' of the skip
          // sequence "::"
          int start = 0;
          if (ipString.charAt(0) == IPV6_DELIMITER) {
            start = 1;
          }
          while (start < ipString.length()) {
            int end = ipString.indexOf(IPV6_DELIMITER, start);
            if (end == -1) {
              end = ipString.length();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

      public OAuthSessionFactory(SlackApi slackApi) {
        this.slackApi = slackApi;
      }
    
      public void start() throws Exception {
        if (mockWebServer != null) throw new IllegalStateException();
    
        mockWebServer = new MockWebServer();
        mockWebServer.setDispatcher(this);
        mockWebServer.start(slackApi.port);
      }
    
      public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/AppendableWriter.java

        checkNotClosed();
        target.append(charSeq);
        return this;
      }
    
      @Override
      public Writer append(@Nullable CharSequence charSeq, int start, int end) throws IOException {
        checkNotClosed();
        target.append(charSeq, start, end);
        return this;
      }
    
      private void checkNotClosed() throws IOException {
        if (closed) {
          throw new IOException("Cannot write to a closed writer.");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      @Throws(IOException::class)
      public fun start(
        inetAddress: InetAddress,
        port: Int,
      ) {
        start(InetSocketAddress(inetAddress, port))
      }
    
      /**
       * Starts the server and binds to the given socket address.
       *
       * @param socketAddress the socket address to bind the server on
       */
      @Synchronized
      @Throws(IOException::class)
      private fun start(socketAddress: InetSocketAddress) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
Back to top