Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for casa (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * addressed by this method is the case in which {@code T} has parametric nullness -- and thus its
       * value may be legitimately {@code null}.)
       */
      @SuppressWarnings("nullness")
      @ParametricNullness
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) {
        return t;
      }
    
      /**
       * Returns {@code null} cast to any type.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

       *
       * <p><b>Warning:</b> using a bounded executor may be counterproductive! If the thread pool fills
       * up, any time callers spend waiting for a thread may count toward their time limit, and in this
       * case the call may even time out before the target method is ever invoked.
       *
       * @param executor the ExecutorService that will execute the method calls on the target objects;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        this.network = createNetwork(edgeType);
      }
    
      private static MutableNetwork<Integer, String> createNetwork(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return NetworkBuilder.undirected().allowsSelfLoops(true).build();
          case DIRECTED:
            return NetworkBuilder.directed().allowsSelfLoops(true).build();
          default:
            throw new IllegalStateException("Unexpected edge type: " + edgeType);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closeables.java

       * Closes the given {@link InputStream}, logging any {@code IOException} that's thrown rather than
       * propagating it.
       *
       * <p>While it's not safe in the general case to ignore exceptions that are thrown when closing an
       * I/O resource, it should generally be safe in the case of a resource that's being used only for
       * reading, such as an {@code InputStream}. Unlike with writable resources, there's no chance that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
            case SLOW_FUNC_VALID_INPUT_DATA:
              funcIsWaitingLatch.countDown();
              awaitUninterruptibly(funcCompletionLatch);
              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

      }
    
      @Test
      public void hasCycle_twoCyclicEdges() {
        for (MutableGraph<Integer> graph : graphsToTest) {
          graph.putEdge(1, 2);
          graph.putEdge(2, 1); // no-op in undirected case
        }
        assertThat(hasCycle(directedGraph)).isTrue();
        assertThat(hasCycle(undirectedGraph)).isFalse();
      }
    
      @Test
      public void hasCycle_threeAcyclicEdges() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 07 15:09:01 GMT 2016
    - 5.7K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

        testBytesB = Arrays.copyOf(testBytesA, size);
        int indexToDifferAt = -1;
        switch (whereToDiffer) {
          case ONE_PERCENT_IN:
            indexToDifferAt = (int) (size * 0.01);
            break;
          case LAST_BYTE:
            indexToDifferAt = size - 1;
            break;
          case NOT_AT_ALL:
        }
        if (indexToDifferAt != -1) {
          testBytesA[indexToDifferAt] = (byte) (testBytesB[indexToDifferAt] - 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

        testBytesB = Arrays.copyOf(testBytesA, size);
        int indexToDifferAt = -1;
        switch (whereToDiffer) {
          case ONE_PERCENT_IN:
            indexToDifferAt = (int) (size * 0.01);
            break;
          case LAST_BYTE:
            indexToDifferAt = size - 1;
            break;
          case NOT_AT_ALL:
        }
        if (indexToDifferAt != -1) {
          testBytesA[indexToDifferAt] = (byte) (testBytesB[indexToDifferAt] - 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/NetworkBuilder.java

       *
       * @since 28.0
       */
      public <N1 extends N, E1 extends E> ImmutableNetwork.Builder<N1, E1> immutable() {
        NetworkBuilder<N1, E1> castBuilder = cast();
        return new ImmutableNetwork.Builder<>(castBuilder);
      }
    
      /**
       * Specifies whether the network will allow parallel edges. Attempting to add a parallel edge to a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

      }
    
      static <N, V> UndirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
        switch (incidentEdgeOrder.type()) {
          case UNORDERED:
            return new UndirectedGraphConnections<>(
                new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          case STABLE:
            return new UndirectedGraphConnections<>(
                new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          default:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.3K bytes
    - Viewed (0)
Back to top