Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2181 - 2190 of 4,322 for nulls (0.09 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(4, buffer.size()); // 2 bytes for level + 2 bytes for null terminator
            }
    
            @Test
            @DisplayName("Should create buffer with null path")
            void testConstructorWithNullPath() {
                String path = null;
                int maxReferralLevel = 2;
    
                // The implementation doesn't check for null in constructor
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

       * the putIfAbsent returns a non-null value, and the case where the replace() of an observed zero
       * fails.
       */
      public void testAdd_withFailures() {
        AtomicInteger existing = new AtomicInteger(12);
        AtomicInteger existingZero = new AtomicInteger(0);
    
        // initial map.get()
        when(backingMap.get(KEY)).thenReturn(null);
        // since get returned null, try a putIfAbsent; that fails due to a simulated race
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

        List<V> values = asList(v0(), null, v3());
        multimap().replaceValues(k0(), values);
        assertGet(k0(), values);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testReplaceValuesWithNullKey() {
        List<V> values = asList(v0(), v2(), v3());
        multimap().replaceValues(null, values);
        assertGet(null, values);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

        /**
         * GETs the source URI content as byte array. The source MUST BE relative from the {@link RemoteRepository#getUrl()}
         * root.
         *
         * @return the byte array if operation succeeded, {@code null} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
        Optional<byte[]> getBytes(@Nonnull URI relativeSource);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

            // The old broken implementation would have done:
            // var plugin = getBuild().getDelegate().getPluginsAsMap().get(pluginKey);
            // return plugin != null ? new Plugin(plugin) : null;
            // This would create a disconnected Plugin that doesn't persist changes.
    
            // The new fixed implementation does:
            // Find the plugin in the connected plugins list
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 04 12:50:13 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

            dependenciesToModify: MutableMap<String, MutableList<String>>
        ) {
            var currentFilePath: String? = null
    
            errorLogFile.useLines { lines ->
                lines.withIndex().forEach { (index, line) ->
                    val fileMatch = Regex("""> (.+?)/build.gradle.kts""").find(line)
                    if (fileMatch != null) {
                        currentFilePath = fileMatch.groupValues[1] + "/build.gradle.kts"
                    }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Mar 03 06:57:08 UTC 2025
    - 6.2K bytes
    - Viewed (1)
  7. src/test/java/org/codelibs/core/io/FileUtilTest.java

        /**
         * Test readBytes with null file throws exception
         */
        @Test
        public void testReadBytes_NullFile() {
            try {
                FileUtil.readBytes(null);
                fail("Expected IllegalArgumentException");
            } catch (final IllegalArgumentException e) {
                // Expected
            }
        }
    
        /**
         * Test isPathSafe with null path throws exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmServletTest.java

        @Test
        void testService_NoAuthHeader_NoSession() throws ServletException, IOException {
            ntlmServlet.init(servletConfig);
            when(request.getHeader("Authorization")).thenReturn(null);
            when(request.getSession(false)).thenReturn(null);
            lenient().when(request.isSecure()).thenReturn(true);
    
            ntlmServlet.service(request, response);
    
            verify(response).setHeader("WWW-Authenticate", "NTLM");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        if (needsAllocArrays()) {
          return;
        }
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
        // Either both arrays are null or neither is, but we check both to satisfy the nullness checker.
        if (predecessor != null && successor != null) {
          Arrays.fill(predecessor, 0, size(), 0);
          Arrays.fill(successor, 0, size(), 0);
        }
        super.clear();
      }
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        if (needsAllocArrays()) {
          return;
        }
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
        // Either both arrays are null or neither is, but we check both to satisfy the nullness checker.
        if (predecessor != null && successor != null) {
          Arrays.fill(predecessor, 0, size(), 0);
          Arrays.fill(successor, 0, size(), 0);
        }
        super.clear();
      }
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top