Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 210 for Loop (0.02 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> directedGraph.addEdge(N1, N2, E12_A));
        assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE);
    
        // By default, self-loop edges are not allowed.
        e = assertThrows(IllegalArgumentException.class, () -> directedGraph.addEdge(N1, N1, E11));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
       */
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

       * is permanently reduced, but with certain Reader implementations it could also cause the buffer
       * size to reach 0, causing an infinite loop.
       */
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServicePacket.java

            /*
             * Apparently readRDataWireFormat can return 0 if resultCode != 0 in
             * which case this will look indefinitely. Putting this else clause around
             * the loop might fix that. But I would need to see a capture to confirm.
             * if (resultCode != 0) {
             * srcIndex += rDataLength;
             * } else {
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            end = srcIndex + rDataLength;
            /* Apparently readRDataWireFormat can return 0 if resultCode != 0 in
            which case this will look indefinitely. Putting this else clause around
            the loop might fix that. But I would need to see a capture to confirm.
            if (resultCode != 0) {
                srcIndex += rDataLength;
            } else {
            */
            for (addrIndex = 0; srcIndex < end; addrIndex++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

          CompactHashing.tableSet(newTable, targetHash & newMask, targetEntryIndex + 1);
        }
    
        Object oldTable = requireTable();
        int[] entries = requireEntries();
    
        // Loop over `oldTable` to construct its replacement, ``newTable`. The entries do not move, so
        // the `keys` and `values` arrays do not need to change. But because the "short hash" now has a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    }
                }
                throw new ThumbnailGenerationException("Failed to process a thumbnail content: " + url + " (Redirect Loop)");
            });
        }
    
        /**
         * Sets the list of generator names.
         * @param generatorList The list of generator names.
         */
        public void setGeneratorList(final List<String> generatorList) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        }
      },
      /**
       * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different
       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
       * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
       * AND'ing with Long.MAX_VALUE instead of flipping the bits.
       */
      MURMUR128_MITZ_64() {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMap.java

       * #remove} to forward to this implementation.
       *
       * <p>Alternately, you may wish to override {@link #remove} with {@code keySet().remove}, assuming
       * that approach would not lead to an infinite loop.
       *
       * @since 7.0
       */
      protected @Nullable V standardRemove(@Nullable Object key) {
        Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
        while (entryIterator.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. migrator/migrator.go

    			if length > 0 && field.Size > 0 {
    				alterColumn = true
    			} else {
    				// has size in data type and not equal
    				// Since the following code is frequently called in the for loop, reg optimization is needed here
    				matches2 := regFullDataType.FindAllStringSubmatch(fullDataType, -1)
    				if !field.PrimaryKey &&
    					(len(matches2) == 1 && matches2[0][1] != fmt.Sprint(length) && ok) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
Back to top