Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2281 - 2290 of 4,689 for nulls (0.06 seconds)

  1. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/487687332
              @Override
              protected void finalize() {
                future.set(null);
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.awaitDone(future);
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final String fieldName = item.getFieldName();
            final Charset encoding = Charset.forName(request.getCharacterEncoding());
            String value = null;
            boolean haveValue = false;
            if (encoding != null) {
                try {
                    value = item.getString(encoding);
                    haveValue = true;
                } catch (final Exception e) {}
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

                }
            }
    
            try (CloseableIterator<SmbResource> it = SmbEnumerationUtil.doEnum(src, "*",
                    SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM, null, null)) {
                while (it.hasNext()) {
                    try (SmbResource r = it.next()) {
                        try (SmbFile ndest = new SmbFile(dest, r.getLocator().getName(), true, r.getLocator().getType(), r.getAttributes(),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

            assertFalse(queryCommand.isSearchField(""));
        }
    
        /**
         * Test isSearchField() with null field.
         */
        @Test
        public void test_isSearchField_withNull() {
            assertFalse(queryCommand.isSearchField(null));
        }
    
        /**
         * Test isSearchField() with empty search field set.
         */
        @Test
        public void test_isSearchField_withEmptySet() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/GeneralRange.java

      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
        BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
    
        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
        BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN;
        return new GeneralRange<>(
            Ordering.natural(),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        @Test
        @DisplayName("Test PacUnicodeString check method with null pointer")
        void testPacUnicodeStringCheckWithNullPointer() throws Exception {
            // When pointer is 0, the string should be null
            PacUnicodeString unicodeString = new PacUnicodeString((short) 0, (short) 0, 0);
    
            // check() expects null when pointer is 0 but doesn't accept empty string
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. 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;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      /**
       * Records an exception so that it can be rethrown later in the test harness thread, triggering a
       * test case failure. Only the first failure is recorded; subsequent calls to this method from
       * within the same test have no effect.
       */
      final void threadRecordFailure(Throwable t) {
        threadFailure.compareAndSet(null, t);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

         * @param recessive the recessive (lower priority) XML node
         * @param childMergeOverride optional override for the child merge mode
         * @return the merged XML node, or null if both inputs are null
         */
        protected abstract XmlNode doMerge(XmlNode dominant, XmlNode recessive, Boolean childMergeOverride);
    
        /**
         * Gets the singleton instance of the XmlService.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            return emptyList()
          }
    
        var cookies: MutableList<Cookie>? = null
        for ((key, value) in cookieHeaders) {
          if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
            value.isNotEmpty()
          ) {
            for (header in value) {
              if (cookies == null) cookies = mutableListOf()
              cookies.addAll(decodeHeaderAsJavaNetCookies(url, header))
            }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
Back to Top