Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,357 for todo (0.03 sec)

  1. guava-tests/test/com/google/common/base/StopwatchTest.java

        stopwatch.start();
        ticker.advance(999999);
        assertEquals(0, stopwatch.elapsed(MILLISECONDS));
        ticker.advance(1);
        assertEquals(1, stopwatch.elapsed(MILLISECONDS));
      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingMapEntry.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Map.Entry<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingMapEntry() {}
    
      @Override
      protected abstract Entry<K, V> delegate();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

    import java.util.Collection;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    public final class GraphEquivalenceTest {
      private static final Integer N1 = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

        ListenableFuture<String> f =
            new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {};
        verify(!(f instanceof FluentFuture));
        assertThat(FluentFuture.from(f).get()).isEqualTo("a");
        // TODO(cpovirk): Test forwarding more extensively.
      }
    
      public void testAddCallback() {
        FluentFuture<String> f = FluentFuture.from(immediateFuture("a"));
        final boolean[] called = new boolean[1];
        f.addCallback(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/StandardRowSortedTable.java

     * class.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class StandardRowSortedTable<R, C, V> extends StandardTable<R, C, V>
        implements RowSortedTable<R, C, V> {
      /*
       * TODO(jlevy): Consider adding headTable, tailTable, and subTable methods,
       * which return a Table view with rows keys in a given range. Create a
       * RowSortedTable subinterface with the revised methods?
       */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            logger.debug(indent + artifact + " (not setting artifactScope to: " + ignoredScope + "; local artifactScope "
                    + artifact.getScope() + " wins)");
    
            // TODO better way than static? this might hide messages in a reactor
            if (!ignoredArtifacts.contains(artifact)) {
                logger.warn("\n\tArtifact " + artifact + " retains local artifactScope '" + artifact.getScope()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                throws ArtifactDeploymentException {
            if (artifact.isSnapshot()) {
                Snapshot snapshot = new Snapshot();
    
                // TODO Should this be changed for MNG-6754 too?
                snapshot.setTimestamp(getDeploymentTimestamp());
    
                // we update the build number anyway so that it doesn't get lost. It requires the timestamp to take effect
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            // -------------------------------------------------------------------------------------
    
            String path = System.getProperty(altLocationSysProp);
    
            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
                String basedir = System.getProperty(basedirSysProp);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. cni/pkg/ipset/ipset.go

    	flush(name string) error
    	clearEntriesWithComment(name string, comment string) error
    	clearEntriesWithIP(name string, ip netip.Addr) error
    	listEntriesByIP(name string) ([]netip.Addr, error)
    }
    
    // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a
    // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. test-site/activator.bat

    for /f "tokens=3" %%g in ('java -version 2^>^&1 ^| findstr /i "version"') do (
        set JAVA_VERSION=%%g
    )
    
    rem Strips away the " characters
    set JAVA_VERSION=%JAVA_VERSION:"=%
    
    rem TODO Check if there are existing mem settings in JAVA_OPTS/CFG_OPTS and use those instead of the below
    for /f "delims=. tokens=1-3" %%v in ("%JAVA_VERSION%") do (
        set MAJOR=%%v
        set MINOR=%%w
        set BUILD=%%x
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 7.2K bytes
    - Viewed (0)
Back to top