Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2841 - 2850 of 3,426 for overwrite (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EmptyImmutableTableTest extends AbstractImmutableTableTest {
      private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of();
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
        return ImmutableSet.of(INSTANCE);
      }
    
      public void testHashCode() {
        assertEquals(0, INSTANCE.hashCode());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/VerifyTest.java

      public void testNullPointers() {
        // Don't bother testing: Verify is like Preconditions. See the discussion on that class.
      }
    
      private static final Object IGNORE_ME =
          new Object() {
            @Override
            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static final String FORMAT = "I ate %s pies.";
    
      private static void checkMessage(Exception e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

          sort(copy, Ordering.natural());
          tmp += copy[0];
        }
        return tmp;
      }
    
      private static final Comparator<Integer> NATURAL_INTEGER =
          new Comparator<Integer>() {
            @Override
            public int compare(Integer o1, Integer o2) {
              return o1.compareTo(o2);
            }
          };
    
      @Benchmark
      int arraysSortOrderingFromNatural(int reps) {
        int tmp = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/PackageSanityTests.java

        setDistinctValues(Network.class, IMMUTABLE_NETWORK_A, IMMUTABLE_NETWORK_B);
        setDefault(EndpointPair.class, EndpointPair.ordered("A", "B"));
      }
    
      @Override
      public void testNulls() throws Exception {
        try {
          super.testNulls();
        } catch (AssertionError e) {
          assertWithMessage("Method did not throw null pointer OR element not in graph exception.")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/RangeTest.java

          new DiscreteDomain<Integer>() {
            @Override
            public Integer next(Integer value) {
              return integers().next(value);
            }
    
            @Override
            public Integer previous(Integer value) {
              return integers().previous(value);
            }
    
            @Override
            public long distance(Integer start, Integer end) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. fastapi/openapi/docs.py

    ) -> HTMLResponse:
        """
        Generate and return the HTML  that loads Swagger UI for the interactive
        API docs (normally served at `/docs`).
    
        You would only call this function yourself if you needed to override some parts,
        for example the URLs to use to load Swagger UI's JavaScript and CSS.
    
        Read more about it in the
        [FastAPI docs for Configure Swagger UI](https://fastapi.tiangolo.com/how-to/configure-swagger-ui/)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

    public abstract class AbstractContainerTester<C, E extends @Nullable Object>
        extends AbstractTester<OneSizeTestContainerGenerator<C, E>> {
      protected SampleElements<E> samples;
      protected C container;
    
      @Override
      @OverridingMethodsMustInvokeSuper
      public void setUp() throws Exception {
        super.setUp();
        samples = this.getSubjectGenerator().samples();
        resetContainer();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        }
    
        private static class MyKey {
            Object _key;
    
            MyKey(Object key) {
                _key = key;
            }
    
            @Override
            public int hashCode() {
                return 0;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

            <!-- line, column and source fields are auto-generated by Modello -->
          </fields>
          <codeSegments>
            <codeSegment>
              <version>1.2.0+</version>
              <code>
    
        @Override
        public String toString() {
            return getLineNumber() + " : " + getColumnNumber() + ", " + getSource();
        }
              </code>
            </codeSegment>
          </codeSegments>
        </class>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcBinding.java

            if ( key.equals("endpoint") )
                return this.endpoint;
            if ( this.options != null )
                return this.options.get(key);
            return null;
        }
    
    
        @Override
        public String toString () {
            String ret = this.proto + ":" + this.server + "[" + this.endpoint;
            if ( this.options != null ) {
                for ( Entry<String, Object> entry : this.options.entrySet() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
Back to top