Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 931 for While (0.14 sec)

  1. guava/src/com/google/common/collect/TableCollectors.java

            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
            oldCell.merge(value, merger);
          }
        }
    
        /*
         * While the current implementation returns `this`, that's not something we mean to guarantee.
         * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

     * escaped in a general way.
     *
     * <p>A good example of usage of this class is for Java source code escaping where the replacement
     * array contains information about special ASCII characters such as {@code \\t} and {@code \\n}
     * while {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code \\uxxxx}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedCharEscaper} is proportional to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    			b := got.AvailableBuffer()
    			b = strconv.AppendInt(b, int64(i), 10)
    			got.Write(b)
    		}
    	})
    	if n > 0 {
    		t.Errorf("allocations occurred while appending")
    	}
    }
    
    func TestRuneIO(t *testing.T) {
    	const NRune = 1000
    	// Built a test slice while we write the data
    	b := make([]byte, utf8.UTFMax*NRune)
    	var buf Buffer
    	n := 0
    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(b[n:], r)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (text == null || fromText == null || toText == null) {
                return null;
            }
            final StringBuilder buf = new StringBuilder(100);
            int pos = 0;
            int pos2 = 0;
            while (true) {
                pos = text.indexOf(fromText, pos2);
                if (pos == 0) {
                    buf.append(toText);
                    pos2 = fromText.length();
                } else if (pos > 0) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * <p><b>Java 21+ users:</b> use {@link Thread.Builder#name(String, long)} instead. Note that
       * {@link #setNameFormat} accepts a thread name <i>format string</i> (e.g., {@code
       * threadFactoryBuilder.setNameFormat("rpc-pool-%d")}), while {@code threadBuilder.name()} accepts
       * a thread name <i>prefix</i> and initial counter value (e.g., {@code
       * threadBuilder.name("rpc-pool-", 0)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacMac.java

            out[i % olen] = (byte) (b & 0xff);
            return b >>>= 8;
        }
    
        private static int lcm(int u, int v) {
            int a = u, b = v, c;
            while (b != 0) {
                c = b;
                b = a % b;
                a = c;
            }
            return u * v / a;
        }
    
        /**
         * Calculates a MAC (Message Authentication Code) for PAC data validation.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

            }
            esCb.request().build(builder);
            SearchResponse response = esCb.build(builder).execute().actionGet(scrollSearchTimeout);
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = getSearchHits(response);
                    final SearchHit[] hits = searchHits.getHits();
                    if (hits.length == 0) {
                        break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
          ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(random.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

     *
     * <p>Thread-safe operations are supported for registration and retrieval of data stores.
     * The factory caches data store names with a time-based refresh mechanism to improve
     * performance while ensuring up-to-date plugin discovery.</p>
     */
    public class DataStoreFactory {
        /** Logger instance for this factory class. */
        private static final Logger logger = LogManager.getLogger(DataStoreFactory.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. docs/features/events.md

            return EventListener.NONE;
          }
        }
      };
    
      ...
    }
    ```
    
    ### Events with Failures
    
    When an operation fails, a failure method is called. This is `connectFailed()` for failures while building a connection to the server, and `callFailed()` when the HTTP call fails permanently. When a failure happens it is possible that a `start` event won’t have a corresponding `end` event.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top