Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 1,444 for scratch (0.05 sec)

  1. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                if (existingCounter.compareAndSet(oldValue, newValue)) {
                  // newValue can't == 0, so no need to check & remove
                  return oldValue;
                }
              } catch (ArithmeticException overflow) {
                throw new IllegalArgumentException(
                    "Overflow adding " + occurrences + " occurrences to a count of " + oldValue);
              }
            } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

          }
          builder.put(key, valuesBuilder.build());
          tmpSize += valueCount;
        }
    
        ImmutableMap<Object, ImmutableList<Object>> tmpMap;
        try {
          tmpMap = builder.buildOrThrow();
        } catch (IllegalArgumentException e) {
          throw (InvalidObjectException) new InvalidObjectException(e.getMessage()).initCause(e);
        }
    
        FieldSettersHolder.MAP_FIELD_SETTER.set(this, tmpMap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Queues.java

              while (true) {
                try {
                  e = q.poll(deadline - System.nanoTime(), NANOSECONDS);
                  break;
                } catch (InterruptedException ex) {
                  interrupted = true; // note interruption and retry
                }
              }
              if (e == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                    public void run() {
                      for (int j = 0; j < getsPerTask; j++) {
                        try {
                          cache.getUnchecked("key" + random.nextInt(nUniqueKeys));
                        } catch (RuntimeException e) {
                        }
                      }
                    }
                  });
        }
    
        threadPool.shutdown();
        threadPool.awaitTermination(300, SECONDS);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

        try {
          Files.move(from, to);
          if (success) {
            assertFalse(from.exists());
            assertTrue(to.exists());
          } else {
            fail("expected exception");
          }
        } catch (IOException possiblyExpected) {
          if (success) {
            throw possiblyExpected;
          }
        }
      }
    
      private static class UnmovableFile extends File {
    
        private final boolean canRename;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                            null,
                            "artifactId of a plugin must be defined. ",
                            plugin);
                }
    
                // This will catch cases like <version></version> or <version/>
                if (plugin.getVersion() != null && plugin.getVersion().trim().isEmpty()) {
                    addViolation(
                            problems,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  7. docs/en/docs/index.md

        * Interactive documentation systems.
        * Automatic client code generation systems, for many languages.
    * Provide 2 interactive documentation web interfaces directly.
    
    ---
    
    We just scratched the surface, but you already get the idea of how it all works.
    
    Try changing the line with:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...from:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * </ul>
     *
     * Each derivation can capture the next value or any intermediate objects for later closing.
     *
     * <p>A step can be the input to at most one derived step. Once you transform its value, catch its
     * exception, or combine it with others, you cannot do anything else with it, including declare it
     * to be the last step of the pipeline.
     *
     * <h4>Transforming</h4>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       * awkward [InterruptedException].
       */
      @Throws(InterruptedIOException::class)
      internal fun waitForIo() {
        try {
          condition.await()
        } catch (_: InterruptedException) {
          Thread.currentThread().interrupt() // Retain interrupted status.
          throw InterruptedIOException()
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayMap.java

            @Override
            public Entry<K, V> next() {
                try {
                    final Entry<K, V> n = listTable[current];
                    last = current++;
                    return n;
                } catch (final IndexOutOfBoundsException e) {
                    throw new NoSuchElementException("current=" + current);
                }
            }
    
            @Override
            public void remove() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top