Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1451 - 1460 of 4,653 for nullif (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       */
      data class ConnectResult(
        val plan: Plan,
        val nextPlan: Plan? = null,
        val throwable: Throwable? = null,
      ) {
        val isSuccess: Boolean
          get() = nextPlan == null && throwable == null
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/MutableValueGraph.java

       * <p>Values do not have to be unique. However, values must be non-null.
       *
       * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will
       * silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph.
       *
       * @return the value previously associated with the edge connecting {@code nodeU} to {@code
       *     nodeV}, or null if there was no such edge.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            smbtStatic = mockStatic(SmbTransport.class);
            smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445, inet, 0, null)).thenReturn(transport);
            smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445)).thenReturn(transport);
        }
    
        @AfterEach
        void tearDown() {
            if (smbtStatic != null) {
                smbtStatic.close();
            }
        }
    
        @Test
        void transportLazyInitialisation() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

            return false;
        }
    
        private TokenStream createTokenStream(final Reader rd) {
            return null;
            /*
             * TODO if (tokenizerFactory instanceof JapaneseTokenizerFactory) { return tokenizerFactory.create(); } else {
             * return null; }
             */
        }
    
        /**
         * Gets the reading from the attribute.
         * @param stream The token stream.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      public void testSetNull() throws Exception {
        future.set(null);
        assertSuccessful(future, null);
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testSetExceptionNull() throws Exception {
        assertThrows(NullPointerException.class, () -> future.setException(null));
    
        assertThat(future.isDone()).isFalse();
        assertThat(future.set(1)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

         * @param name The parameter name.
         * @return The parameter value, or null if not found.
         */
        public String getParameter(final String name) {
            return parameterMap.get(name);
        }
    
        @Override
        public String getRealm() {
            return null;
        }
    
        @Override
        public boolean isConnectionBased() {
            return false;
        }
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/SLinkedList.java

     * @author higa
     * @param <E> the element type
     */
    public class SLinkedList<E> implements Cloneable, Externalizable {
    
        static final long serialVersionUID = 1L;
    
        private transient Entry header = new Entry(null, null, null);
    
        private transient int size = 0;
    
        /**
         * Creates an {@link SLinkedList}.
         */
        public SLinkedList() {
            header.next = header;
            header.previous = header;
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

      body: ByteString?,
      connectionIndex: Int,
      exchangeIndex: Int,
      socket: MockWebServerSocket,
      failure: IOException? = null,
    ): RecordedRequest {
      val requestUrl =
        when (requestLine.method) {
          "CONNECT" -> "${socket.scheme}://${requestLine.target}/".toHttpUrlOrNull()
          else -> null
        }
          ?: requestLine.target.toHttpUrlOrNull()
          ?: requestUrl(socket, requestLine, headers)
    
      return RecordedRequest(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

        val mainMethod =
          Class
            .forName(className)
            .methods
            .find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
            System.err.println("No main for $className")
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

        for (entry in list) {
          var failure: Throwable? = null
          try {
            testToAscii(entry.input!!, entry.output, entry.comment)
          } catch (e: Throwable) {
            failure = e
          }
    
          if (entry.input in knownFailures) {
            if (failure == null) failures += AssertionError("known failure didn't fail: $entry")
          } else {
            if (failure != null) failures += failure
          }
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top