Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3111 - 3120 of 3,758 for null (0.02 sec)

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

           */
          info.getName().contains("TypeResolverTest")
              /*
               * And at least one of the classes inside TypeTokenTest ends up with a null value in
               * TypeMappingIntrospector.mappings. That happens only under older JDKs, too, so it may
               * well be a JDK bug.
               */
              || info.getName().contains("TypeTokenTest")
              /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/MutableGraph.java

     */
    @Beta
    public interface MutableGraph<N> extends Graph<N> {
    
      /**
       * Adds {@code node} if it is not already present.
       *
       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

       */
      protected IteratorTester(
          int steps,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder) {
        super(steps, Collections.<E>singleton(null), features, expectedElements, knownOrder, 0);
      }
    
      @Override
      protected final Iterable<Stimulus<E, Iterator<E>>> getStimulusValues() {
        return iteratorStimuli();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

        boolean isPrimary = true;
        byte[] txn_buf;
    
        /* for doNetEnum and doFindFirstNext */
        int status;
        int numEntries;
        FileEntry[] results;
    
        SmbComTransactionResponse() {
            txn_buf = null;
        }
    
        @Override
        void reset() {
            super.reset();
            bufDataStart = 0;
            isPrimary = hasMore = true;
            parametersDone = dataDone = false;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            int bytesRead = response.readDataWireFormat(data, 0, data.length);
    
            assertEquals(40, bytesRead, "Should read 40 bytes for the two entries.");
            assertNotNull(response.results, "Results should not be null.");
            assertEquals(2, response.results.length, "Should have 2 share entries.");
    
            SmbShareInfo share1 = (SmbShareInfo) response.results[0];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. soft_delete.go

    }
    
    func (n DeletedAt) MarshalJSON() ([]byte, error) {
    	if n.Valid {
    		return json.Marshal(n.Time)
    	}
    	return json.Marshal(nil)
    }
    
    func (n *DeletedAt) UnmarshalJSON(b []byte) error {
    	if string(b) == "null" {
    		n.Valid = false
    		return nil
    	}
    	err := json.Unmarshal(b, &n.Time)
    	if err == nil {
    		n.Valid = true
    	}
    	return err
    }
    
    func (DeletedAt) QueryClauses(f *schema.Field) []clause.Interface {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  7. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

     * Unit test for {@link Helpers}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public class HelpersTest extends TestCase {
      public void testNullsBeforeB() {
        testComparator(NullsBeforeB.INSTANCE, "a", "azzzzzz", null, "b", "c");
      }
    
      public void testIsEmpty_iterable() {
        List<Object> list = new ArrayList<>();
        assertEmpty(list);
        assertEmpty(() -> emptyIterator());
    
        list.add("a");
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

              public void run() {
                listenerLatch.countDown();
              }
            },
            directExecutor());
      }
    
      @Override
      protected void tearDown() throws Exception {
        if (exec != null) {
          exec.shutdown();
        }
    
        super.tearDown();
      }
    
      public void testListenerDoesNotRunUntilTaskCompletes() throws Exception {
    
        // Test default state of not started.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

     * Unit test for {@link Helpers}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public class HelpersTest extends TestCase {
      public void testNullsBeforeB() {
        testComparator(NullsBeforeB.INSTANCE, "a", "azzzzzz", null, "b", "c");
      }
    
      public void testIsEmpty_iterable() {
        List<Object> list = new ArrayList<>();
        assertEmpty(list);
        assertEmpty(() -> emptyIterator());
    
        list.add("a");
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

       */
      @Test fun proxySelectorNotCalledForNullHost() {
        // The string '>' is okay in a hostname in HttpUrl, which does very light hostname validation.
        // It is not okay in URI, and so it's stripped and we get a URI with a null host.
        val bogusHostname = ">"
        val address =
          factory.newAddress(
            uriHost = bogusHostname,
            uriPort = uriPort,
          )
        val routeSelector = newRouteSelector(address)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top