Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2061 - 2070 of 3,201 for inst (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tuples.py

        return item_group
    
    
    @app.post("/tuple-of-models/")
    def post_tuple_of_models(square: tuple[Coordinate, Coordinate]):
        return square
    
    
    @app.post("/tuple-form/")
    def hello(values: tuple[int, int] = Form()):
        return values
    
    
    client = TestClient(app)
    
    
    def test_model_with_tuple_valid():
        data = {"items": [["foo", "bar"], ["baz", "whatelse"]]}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove(int)} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/MapDifference.java

       *
       * {@snippet :
       * Arrays.asList(entriesOnlyOnLeft(), entriesOnlyOnRight(),
       *     entriesInCommon(), entriesDiffering())
       * }
       */
      @Override
      int hashCode();
    
      /**
       * A difference between the mappings from two maps with the same key. The {@link #leftValue} and
       * {@link #rightValue} are not equal, and one but not both of them may be null.
       *
       * @since 2.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

        return ImmutableCollection.unsafeDelegate(delegate.values());
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return delegate.equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. internal/store/batch.go

    		}
    	}
    
    	b.items = append(b.items, item)
    	return nil
    }
    
    // Len returns the no of items in the batch
    func (b *Batch[_]) Len() int {
    	b.Lock()
    	defer b.Unlock()
    
    	return len(b.items)
    }
    
    func (b *Batch[_]) isFull() bool {
    	return len(b.items) >= int(b.limit)
    }
    
    func (b *Batch[I]) commit() error {
    	switch len(b.items) {
    	case 0:
    		return nil
    	case 1:
    		_, err := b.store.Put(b.items[0])
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/net/InetAddressesTest.java

        }
    
        String validTeredoAddress = "2001:0000:4136:e378:8000:63bf:3fff:fdd2";
        String serverStr = "65.54.227.120";
        String clientStr = "192.0.2.45";
        int port = 40000;
        int flags = 0x8000;
    
        InetAddress ip = InetAddresses.forString(validTeredoAddress);
        assertTrue(InetAddresses.isTeredoAddress((Inet6Address) ip));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ForwardingMultimap.java

      @CanIgnoreReturnValue
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().replaceValues(key, values);
      }
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
      public Collection<V> values() {
        return delegate().values();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ForwardingSet.java

      @Override
      protected abstract Set<E> delegate();
    
      @Override
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ForwardingMultimap.java

      @CanIgnoreReturnValue
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().replaceValues(key, values);
      }
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
      public Collection<V> values() {
        return delegate().values();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

     * InetAddress[] addresses = resolver.resolve("example.com");
     * }
     * </pre>
     *
     */
    public class IdnDnsResolver implements DnsResolver {
    
        /** Flag for IDN conversion. */
        protected int flag = 0;
    
        /** Encoding for URL decoding. */
        protected String encoding = "UTF-8";
    
        /**
         * Creates a new IdnDnsResolver instance with default settings.
         */
        public IdnDnsResolver() {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 06 07:24:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top