Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 7,612 for class (0.07 sec)

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

        assertThrows(
            NullPointerException.class, () -> builder.put(immutableCell((Character) null, 1, "foo")));
        assertThrows(
            NullPointerException.class, () -> builder.put(immutableCell('a', (Integer) null, "foo")));
        assertThrows(
            NullPointerException.class, () -> builder.put(immutableCell('a', 1, (String) null)));
      }
    
      private static class StringHolder {
        @Nullable String string;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite // TODO(cpovirk): add to collect/gwt/suites
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(ImmutableMultisetTest.class);
    
        suite.addTest(
            MultisetTestSuiteBuilder.using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

            "next() should still return last element after peeking", "C", peekingIterator.next());
    
        assertThrows(NoSuchElementException.class, () -> peekingIterator.peek());
        assertThrows(NoSuchElementException.class, () -> peekingIterator.peek());
        assertThrows(NoSuchElementException.class, () -> peekingIterator.next());
      }
    
      public void testCantRemoveAfterPeek() {
        List<String> list = Lists.newArrayList("A", "B", "C");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt

    import org.robolectric.annotation.Implementation
    import org.robolectric.annotation.Implements
    import org.robolectric.shadow.api.Shadow
    
    @Implements(DnsResolver::class)
    class ShadowDnsResolver {
      var responder: (Request) -> Unit = {
        it.callback.onAnswer(listOf(), 0)
      }
    
      data class Request(
        val network: Network?,
        val domain: String,
        val nsType: Int,
        val flags: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 22 20:07:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/request-files.md

    * Es hat eine <abbr title="dateiartig"><a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a></abbr> `async`hrone Schnittstelle.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. okhttp-brotli/api/okhttp-brotli.api

    public final class okhttp3/brotli/BrotliInterceptor : okhttp3/Interceptor {
    	public static final field INSTANCE Lokhttp3/brotli/BrotliInterceptor;
    	public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 220 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        return callables;
      }
    
      private static final class WrappedCallable<T> implements Callable<T> {
        private final Callable<T> delegate;
    
        public WrappedCallable(Callable<T> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public T call() throws Exception {
          return delegate.call();
        }
      }
    
      private static final class WrappedRunnable implements Runnable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractFilteredMapTest extends TestCase {
      private static final Predicate<@Nullable String> NOT_LENGTH_3 =
          input -> input == null || input.length() != 3;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. docs_src/body_nested_models/tutorial007_py310.py

    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[Image] | None = None
    
    
    class Offer(BaseModel):
        name: str
        description: str | None = None
        price: float
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 520 bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      }
    
      @Throws(FileNotFoundException::class)
      private fun newJournalWriter(): BufferedSink {
        val fileSink = fileSystem.appendingSink(journalFile)
        val faultHidingSink =
          FaultHidingSink(fileSink) {
            ******@****.***ThreadHoldsLock()
            hasJournalErrors = true
          }
        return faultHidingSink.buffer()
      }
    
      @Throws(IOException::class)
      private fun readJournalLine(line: String) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top