Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 3,735 for Pull (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThrows(NullPointerException.class, () -> throwIfUnchecked(null));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
      // I guess it's technically a bug that ThrowIfUncheckedKnownUnchecked fires here.
      @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
      public void testPropageIfPossible_null() {
        propagateIfPossible(null);
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      public void testCount_nullAbsent() {
        assertEquals("multiset.count(null) didn't return 0", 0, getMultiset().count(null));
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES)
      public void testCount_null_forbidden() {
        assertThrows(NullPointerException.class, () -> getMultiset().count(null));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        return insertionOrder;
      }
    
      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractSortedMultiset.java

        Iterator<Entry<E>> entryIterator = entryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        Iterator<Entry<E>> entryIterator = descendingEntryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

        SSLContext.getInstance("TLS", provider).apply {
          init(null, null, null)
        }
      }
    
      @Test
      fun testMatchesSupportedSocket() {
        val socketFactory = context.socketFactory
    
        val sslSocket = socketFactory.createSocket() as SSLSocket
        assertTrue(adapter.matchesSocket(sslSocket))
    
        adapter.configureTlsExtensions(sslSocket, null, listOf(HTTP_2, HTTP_1_1))
        // not connected
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

            "A Map's hashCode() should be the sum of those of its entries (where "
                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
            ^ (e.getValue() == null ? 0 : e.getValue().hashCode());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DfsImplTest.java

        void testResolve_NullRoot() throws SmbAuthException {
            // Scenario: The root is null.
            assertNull(dfsImpl.resolve(mockContext, "domain", null, "/path"));
        }
    
        @Test
        void testResolve_NullDomain() throws SmbAuthException {
            // Scenario: The domain is null.
            assertNull(dfsImpl.resolve(mockContext, null, "root", "/path"));
        }
    
        // Tests for cache
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            // Test constructor with null message
            ThemeException exception = new ThemeException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // Test constructor with null message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

       */
      protected Entry<K, V>[] createArrayWithNullValue() {
        Entry<K, V>[] array = createSamplesArray();
        int nullValueLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullValueLocation];
        array[nullValueLocation] = mapEntry(oldEntry.getKey(), null);
        return array;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

      override fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink = stream!!.sink
    
      override fun writeRequestHeaders(request: Request) {
        if (stream != null) return
    
        val hasRequestBody = request.body != null
        val requestHeaders = http2HeadersList(request)
        stream = http2Connection.newStream(requestHeaders, hasRequestBody)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top