Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 410 for runners (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset.entrySet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetEntrySetTester<E> extends AbstractMultisetTester<E> {
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

     * that contain elements.
     *
     * @param <C> the type of the container
     * @param <E> the type of the container's contents
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractContainerTester<C, E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/bytes/iter.go

    				line, s = s[:i+1], s[i+1:]
    			} else {
    				line, s = s, nil
    			}
    			if !yield(line[:len(line):len(line)]) {
    				return
    			}
    		}
    		return
    	}
    }
    
    // explodeSeq returns an iterator over the runes in s.
    func explodeSeq(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		for len(s) > 0 {
    			_, size := utf8.DecodeRune(s)
    			if !yield(s[:size:size]) {
    				return
    			}
    			s = s[size:]
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/bufio/scan_test.go

    		}
    	}
    }
    
    // Test that the rune splitter returns same sequence of runes (not bytes) as for range string.
    func TestScanRune(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanRunes)
    		var i, runeCount int
    		var expect rune
    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    			if !s.Scan() {
    				break
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        }
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      /** No-op test so that the class has at least one method, making Maven's test runner happy. */
      public void testNoop() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
      private val client: OkHttpClient?,
      override val carrier: ExchangeCodec.Carrier,
      private val source: BufferedSource,
      private val sink: BufferedSink,
    ) : ExchangeCodec {
      private var state = STATE_IDLE
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    		}
    		if !Equal(actual, tc.out) {
    			t.Errorf("%s(%q) = %q; want %q", funcName, tc.in, actual, tc.out)
    		}
    	}
    }
    
    func tenRunes(r rune) string {
    	runes := make([]rune, 10)
    	for i := range runes {
    		runes[i] = r
    	}
    	return string(runes)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	const step = 13
    	if r >= 'a' && r <= 'z' {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          assertThrows(IllegalArgumentException.class, () -> DoubleMath.fuzzyEquals(1, 2, tolerance));
        }
      }
    
      /*
       * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has
       * a better chance of completing each within its per-test-method timeout.
       */
    
      public void testFuzzyCompare0() {
        runTestFuzzyCompare(0);
      }
    
      public void testFuzzyCompare1() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    import java.util.NoSuchElementException;
    import org.junit.Ignore;
    
    /**
     * Tester for navigation of SortedMultisets.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetNavigationTester<E> extends AbstractMultisetTester<E> {
      private SortedMultiset<E> sortedMultiset;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top