Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,257 for While (0.05 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

                        @Override
                        public void print(Object o) {
    
                            String string = o.toString();
                            int i = string.length() - 1;
                            while (i >= 0) {
                                char c = string.charAt(i);
                                if (c == '\n' || c == '\r' || c == ' ') i--;
                                else break;
                            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty();
          AbstractNetworkTest.validateNetwork(network);
    
          while (network.nodes().size() < NUM_NODES) {
            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
          ArrayList<Integer> nodeList = new ArrayList<>(network.nodes());
          for (int i = 0; i < NUM_EDGES; ++i) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

              // shift is either the number of powers of 2 left to multiply a by, or the biggest shift
              // possible while keeping a in an unsigned long.
              a = UnsignedLongs.remainder(a << shift, m);
              remainingPowersOf2 -= shift;
            } while (remainingPowersOf2 > 0);
            return a;
          }
    
          @Override
          long mulMod(long a, long b, long m) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            // Might specify additional cache-control params. We invalidate just in case.
            canUseHeaderValue = false
          }
          else -> {
            continue@loop
          }
        }
    
        var pos = 0
        while (pos < value.length) {
          val tokenStart = pos
          pos = value.indexOfElement("=,;", pos)
          val directive = value.substring(tokenStart, pos).trim()
          val parameter: String?
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * attempts to the current point use this function.
     *
     * ```java
     * private int responseCount(Response response) {
     *   int result = 1;
     *   while ((response = response.priorResponse()) != null) {
     *     result++;
     *   }
     *   return result;
     * }
     * ```
     *
     * [1]: https://tools.ietf.org/html/rfc2817
     */
    fun interface Authenticator {
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

            // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
            // of the table.
            int knownRunStart = 0;
            int knownRunEnd = 0;
    
            outerLoop:
            while (knownRunStart < hashTable.length) {
              if (knownRunStart == knownRunEnd && hashTable[knownRunStart] == null) {
                if (hashTable[(knownRunStart + maxRunBeforeFallback - 1) & mask] == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 03 20:16:35 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmServlet.java

            Config.setProperty( "jcifs.smb1.netbios.cachePolicy", "600" );
    
            Enumeration e = config.getInitParameterNames();
            String name;
            while (e.hasMoreElements()) {
                name = (String) e.nextElement();
                if (name.startsWith("jcifs.smb1.")) {
                    Config.setProperty(name, config.getInitParameter(name));
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type1Message.java

         *
         * @param material
         *            The raw Type-1 material used to construct this message.
         * @throws IOException
         *             If an error occurs while parsing the material.
         */
        public Type1Message ( byte[] material ) throws IOException {
            parse(material);
        }
    
    
        /**
         * Returns the default flags for a generic Type-1 message in the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
Back to top