Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1961 - 1970 of 2,194 for minval (0.17 sec)

  1. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

    /**
     * Tests for {@link HashingInputStream}.
     *
     * @author Qian Huang
     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        // But the second time, AbstractIterator itself throws an ISE
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
      public void testException() {
        final SomeUncheckedException exception = new SomeUncheckedException();
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

    /**
     * Tests for {@link HashingInputStream}.
     *
     * @author Qian Huang
     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

    import java.util.Iterator;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link SubscriberRegistry}.
     *
     * @author Colin Decker
     */
    public class SubscriberRegistryTest extends TestCase {
    
      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
        assertEquals(0, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

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

          checkNotNull(fromKey);
          return new StandardRowSortedTable<R, C, V>(sortedBackingMap().tailMap(fromKey), factory)
              .rowMap();
        }
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

    /**
     * Tests {@link FileProfileActivator}.
     *
     */
    class FileProfileActivatorTest extends AbstractProfileActivatorTest<FileProfileActivator> {
    
        @TempDir
        Path tempDir;
    
        private final DefaultProfileActivationContext context = new DefaultProfileActivationContext();
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new FileProfileActivator(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

    /**
     */
    @Deprecated
    @Named
    @Singleton
    public class DefaultMavenSettingsBuilder extends AbstractLogEnabled implements MavenSettingsBuilder {
    
        private final SettingsBuilder settingsBuilder;
    
        @Inject
        public DefaultMavenSettingsBuilder(SettingsBuilder settingsBuilder) {
            this.settingsBuilder = settingsBuilder;
        }
    
    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. src/bytes/iter.go

    // The lines yielded by the iterator include their terminating newlines.
    // If s is empty, the iterator yields no lines at all.
    // If s does not end in a newline, the final yielded line will not end in a newline.
    // It returns a single-use iterator.
    func Lines(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		for len(s) > 0 {
    			var line []byte
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

       *
       * <p>Because the map may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubmapSuite(
          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder,
          Bound from,
          Bound to) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top