Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for semakin (0.19 sec)

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

            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractNetworkTest.validateNetwork(network);
    
          Collections.shuffle(nodeList, gen);
          for (Integer node : nodeList) {
            assertThat(network.addNode(node)).isTrue();
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
       * method is called reflectively by Subscriber during tests, and must remain public.
       *
       * @param arg argument to record.
       */
      @Subscribe
      public void recordingMethod(Object arg) {
        assertFalse(methodCalled);
        methodCalled = true;
        methodArgument = arg;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
      public void testCustomEscaper() {
        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
              || (c >= 'a' && c <= 'z')
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 11; i++) {
          limiter.acquire(); // #7, showing off the warmup starting from totally cold
        }
    
        // make sure the areas (times) remain the same, while permits are different
        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       *
       * When we reference FinalizableReferenceQueue in this test, we are referencing a class that is
       * loaded by this test and that will obviously remain loaded for as long as the test is running.
       * So in order to check ClassLoader garbage collection we need to create a new ClassLoader and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      /**
       * Serialized type for all ImmutableBiMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       *
       * <p>Since the bimap is immutable, ImmutableBiMap doesn't require special logic for keeping the
       * bimap and its inverse in sync during serialization, the way AbstractBiMap does.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteStreams.java

      }
    
      /**
       * Attempts to skip up to {@code n} bytes from the given input stream, but not more than {@code
       * in.available()} bytes. This prevents {@code FileInputStream} from skipping more bytes than
       * actually remain in the file, something that it {@linkplain java.io.FileInputStream#skip(long)
       * specifies} it can do in its Javadoc despite the fact that it is violating the contract of
       * {@code InputStream.skip()}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * The concern of the project is provide runtime values based on the model.
     * <p>
     * The values in the model remain untouched but during the process of building a project notions like inheritance and
     * interpolation can be added. This allows to have an entity which is useful in a runtime while preserving the model so
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * An unmodifiable view of a set which may be backed by other sets; this view will change as the
       * backing sets do. Contains methods to copy the data into a new set which will then remain
       * stable. There is usually no reason to retain a reference of type {@code SetView}; typically,
       * you either use it as a plain {@link Set}, or immediately invoke {@link #immutableCopy} or
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top