Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2291 - 2300 of 3,758 for null (0.02 sec)

  1. android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

                .build();
    
        assertThat(graph.nodes()).containsExactly("A", "B");
        assertThat(graph.edges()).containsExactly(EndpointPair.ordered("A", "B"));
        assertThat(graph.edgeValueOrDefault("A", "B", null)).isEqualTo(10);
      }
    
      @Test
      public void immutableValueGraphBuilder_putEdgeFromEndpointPair() {
        ImmutableValueGraph<String, Integer> graph =
            ValueGraphBuilder.directed()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. schema/serializer.go

    func (JSONSerializer) Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {
    	result, err := json.Marshal(fieldValue)
    	if string(result) == "null" {
    		if field.TagSettings["NOT NULL"] != "" {
    			return "", nil
    		}
    		return nil, err
    	}
    	return string(result), err
    }
    
    // UnixSecondSerializer json serializer
    type UnixSecondSerializer struct{}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertEquals("test2.txt", info2.getFileName());
        }
    
        @Test
        @DisplayName("Test NotifyResponse interface with null notification list")
        void testNotifyResponseWithNullList() {
            MockNotifyResponse response = new MockNotifyResponse(null);
    
            List<FileNotifyInformation> notifications = response.getNotifyInformation();
    
            assertNotNull(notifications);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. cmd/metacache-stream_test.go

    "src/compress/flate/reader_test.go", "src/compress/flate/testdata/", "src/compress/flate/testdata/huffman-null-max.dyn.expect", "src/compress/flate/testdata/huffman-null-max.dyn.expect-noinput", "src/compress/flate/testdata/huffman-null-max.golden", "src/compress/flate/testdata/huffman-null-max.in", "src/compress/flate/testdata/huffman-null-max.wb.expect", "src/compress/flate/testdata/huffman-null-max.wb.expect-noinput", "src/compress/flate/testdata/huffman-pi.dyn.expect", "src/compress/flate/testd...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterables.java

        };
      }
    
      /**
       * Divides an iterable into unmodifiable sublists of the given size, padding the final iterable
       * with null values if necessary. For example, partitioning an iterable containing {@code [a, b,
       * c, d, e]} with a partition size of 3 yields {@code [[a, b, c], [d, e, null]]} -- an outer
       * iterable containing two inner lists of three elements each, all in the original order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/InputStreamThread.java

                    if (line == null) {
                        running = false;
                    } else {
                        if (logger.isDebugEnabled()) {
                            logger.debug(line);
                        }
                        if (bufferSize > 0) {
                            list.add(line);
                        }
                        if (outputCallback != null) {
                            outputCallback.accept(line);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeyAndValueSupported() {
        Entry<K, V>[] entries = createSamplesArray();
        entries[getNullLocation()] = entry(null, null);
        resetMap(entries);
        expectContents(entries);
      }
    
      @MapFeature.Require(value = ALLOWS_NULL_KEYS, absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            assertNotNull(resp, "Response should not be null after init");
            // getResponse should now return the same instance
            assertSame(resp, req.getResponse(), "getResponse should expose the initialized response");
        }
    
        @Test
        @DisplayName("getResponse before initResponse returns null")
        void getResponseInitiallyNull() {
            SmbComNTCreateAndX req = createRequest(0, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top