Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for Lyding (0.16 sec)

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

    public final class MoreExecutors {
      private MoreExecutors() {}
    
      /**
       * Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileAttributesTest.java

                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

          return false;
        }
    
        this.mayInterruptIfRunning = mayInterruptIfRunning;
        state = State.CANCELLED;
        notifyAndClearListeners();
    
        if (delegate != null) {
          // TODO(lukes): consider adding the StackOverflowError protection from the server version
          delegate.cancel(mayInterruptIfRunning);
        }
    
        return true;
      }
    
      protected void interruptTask() {}
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            if (that instanceof Pred) {
              return this.node.equals(((Pred<?>) that).node);
            } else {
              return false;
            }
          }
    
          @Override
          public int hashCode() {
            // Adding the class hashCode to avoid a clash with Succ instances.
            return Pred.class.hashCode() + node.hashCode();
          }
        }
    
        static final class Succ<N> extends NodeConnection<N> {
          Succ(N node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       a more precisely named annotation?
     *   <li>While a dependency on Android ought to be easy if it's for annotations only, it will
     *       probably require adding the dep to various ACLs, license files, and Proguard
     *       configurations, and there's always the potential that something will go wrong. It
     *       <i>probably</i> won't, since the deps are needed only in tests (and maybe someday in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashMultimap.java

    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multimap} using hash tables.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       *     value
       */
      public static UnsignedInteger valueOf(String string, int radix) {
        return fromIntBits(UnsignedInts.parseUnsignedInt(string, radix));
      }
    
      /**
       * Returns the result of adding this and {@code val}. If the result would have more than 32 bits,
       * returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedInteger plus(UnsignedInteger val) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        putEdge(5, 1);
        putEdge(1, 2);
        putEdge(3, 1);
      }
    
      // Element Mutation
    
      @Test
      public void putEdge_existingNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        // Adding nodes initially for safety (insulating from possible future
        // modifications to proxy methods)
        addNode(N1);
        addNode(N2);
    
        assertThat(graphAsMutableGraph.putEdge(N1, N2)).isTrue();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
      // may put a thread into an uninterruptible operation intentionally, so there is no other way to
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/PairedStats.java

       * other using {@code second = new PairedStatsAccumulator().addAll(first).snapshot()}, if both
       * were obtained by calling {@code snapshot()} on the same {@link PairedStatsAccumulator} without
       * adding any values in between the two calls, or if one is obtained from the other after
       * round-tripping through java serialization. However, floating point rounding errors mean that it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top