Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1901 - 1910 of 3,633 for NULL (0.02 sec)

  1. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

      /**
       * A word about using {@link Equivalence}, which automatically checks for {@code null} and
       * identical inputs: This sounds like it ought to be a problem here, since the goals of this class
       * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However,
       * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            transformer.init();
    
            final Node pruneNode = transformer.pruneNode(document.cloneNode(true), null);
            assertEquals(getXmlString(document), getXmlString(pruneNode));
            ComponentUtil.setFessConfig(null);
        }
    
        public void test_pruneNode_removeNoScript() throws Exception {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

      }
    
      private fun makeClient(
        connectionSpec: ConnectionSpec? = null,
        tlsVersion: TlsVersion? = null,
        cipherSuites: List<CipherSuite>? = null,
      ): OkHttpClient {
        return this.client.newBuilder()
          .apply {
            if (connectionSpec != null) {
              connectionSpecs(
                listOf(
                  ConnectionSpec.Builder(connectionSpec)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

    import okio.Options
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    /**
     * Reads a stream of [RFC 2046][rfc_2046] multipart body parts. Callers read parts one-at-a-time
     * until [nextPart] returns null. After calling [nextPart] any preceding parts should not be read.
     *
     * Typical use loops over the parts in sequence:
     *
     * ```kotlin
     * val response: Response = call.execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractIterator.java

     *
     * <p>Another example is an iterator that skips over null elements in a backing iterator. This could
     * be implemented as:
     *
     * <pre>{@code
     * public static Iterator<String> skipNulls(final Iterator<String> in) {
     *   return new AbstractIterator<String>() {
     *     protected String computeNext() {
     *       while (in.hasNext()) {
     *         String s = in.next();
     *         if (s != null) {
     *           return s;
     *         }
     *       }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/Collections2Test.java

                    List<@Nullable String> list = newArrayList();
                    for (String element : elements) {
                      list.add((element == null) ? null : "q" + element);
                    }
                    return Collections2.transform(
                        list, from -> isNullOrEmpty(from) ? null : from.substring(1));
                  }
                })
            .named("Collections2.transform")
            .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            Collection<V> collection = super.get(key);
            return (collection == null) ? null : typePreservingCollection(collection, mutex);
          }
        }
    
        @Override
        public Set<Map.Entry<K, Collection<V>>> entrySet() {
          synchronized (mutex) {
            if (asMapEntrySet == null) {
              asMapEntrySet = new SynchronizedAsMapEntries<>(delegate().entrySet(), mutex);
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            Collection<V> collection = super.get(key);
            return (collection == null) ? null : typePreservingCollection(collection, mutex);
          }
        }
    
        @Override
        public Set<Map.Entry<K, Collection<V>>> entrySet() {
          synchronized (mutex) {
            if (asMapEntrySet == null) {
              asMapEntrySet = new SynchronizedAsMapEntries<>(delegate().entrySet(), mutex);
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter1.join();
        waiter2.awaitWaiting(); // should still be blocked
    
        LockSupport.unpark(waiter2); // spurious wakeup
        waiter2.awaitWaiting(); // should eventually re-park
    
        future.set(null);
        waiter2.join();
      }
    
      public void testRemoveWaiter_polling() throws Exception {
        final AbstractFuture<String> future = new AbstractFuture<String>() {};
        WaiterThread waiter = new WaiterThread(future);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. 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)
Back to top