Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2581 - 2590 of 4,689 for nulls (0.02 seconds)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

        void testReadMethodsReturnZero() {
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(10);
            assertEquals(0, cmd.readSetupWireFormat(null, 0, 0));
            assertEquals(0, cmd.readParametersWireFormat(null, 0, 0));
            assertEquals(0, cmd.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("toString includes information level in hex")
        void testToString() {
            int level = 0xABC;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(results).containsExactly(null, null, DATA3).inOrder();
      }
    
      /** Non-Error exceptions are never logged. */
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testSuccessfulAsList_logging_exception() throws Exception {
        assertEquals(
            newArrayList((Object) null),
            getDone(successfulAsList(immediateFailedFuture(new MyException()))));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(results).containsExactly(null, null, DATA3).inOrder();
      }
    
      /** Non-Error exceptions are never logged. */
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testSuccessfulAsList_logging_exception() throws Exception {
        assertEquals(
            newArrayList((Object) null),
            getDone(successfulAsList(immediateFailedFuture(new MyException()))));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Cut.java

              return (previous == null) ? Cut.belowAll() : new AboveValue<>(previous);
          }
          throw new AssertionError();
        }
    
        @Override
        Cut<C> withUpperBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.aboveAll() : new AboveValue<>(previous);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/http/NtlmSspTest.java

            // Setup: No "Authorization" header
            when(mockRequest.getHeader("Authorization")).thenReturn(null);
    
            // Execute
            NtlmPasswordAuthentication result = NtlmSsp.authenticate(mockCifsContext, mockRequest, mockResponse, challenge);
    
            // Verify
            assertNull(result, "Authentication result should be null");
            verify(mockResponse).setHeader("WWW-Authenticate", "NTLM");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
  6. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

            // Print analysis
            analyzer.printAnalysis();
        }
    
        private static boolean containsSrcOrTarget(Path pomPath) {
            Path parent = pomPath.getParent();
            while (parent != null && parent.getFileName() != null) {
                String dirName = parent.getFileName().toString();
                if (dirName.equals("src") || dirName.equals("target")) {
                    return true;
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

                            // WAIT #3
                            barrier.await(1, SECONDS);
                            return null;
                          });
                  assertTrue(future.isDone());
                  assertTrue(executor.isShutdown());
                  assertTrue(executor.isTerminated());
                  return null;
                });
        new Thread(otherTask).start();
    
        // WAIT #1
        barrier.await(1, SECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      public void testGet_comparable() {
        @SuppressWarnings("unchecked") // The null value can compare with any Object
        Comparable<Object> comparable = ArbitraryInstances.get(Comparable.class);
        assertEquals(0, comparable.compareTo(comparable));
        assertThat(comparable.compareTo("")).isGreaterThan(0);
        assertThrows(NullPointerException.class, () -> comparable.compareTo(null));
      }
    
      public void testGet_array() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      /** Lazily initialized on first use. */
      private var messageInflater: MessageInflater? = null
    
      // Masks are only a concern for server writers.
      private val maskKey: ByteArray? = if (isClient) null else ByteArray(4)
      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) null else Buffer.UnsafeCursor()
    
      interface FrameCallback {
        @Throws(IOException::class)
        fun onReadMessage(text: String)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

    /**
     * CompactLinkedHashMap is an implementation of a Map with insertion or LRU iteration order,
     * maintained with a doubly linked list through the entries. All optional operations (put and
     * remove) are supported. Null keys and values are supported.
     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top