Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 4,689 for nulls (0.02 seconds)

  1. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        }
    
        @Override
        public @Nullable K get(@Nullable Object value) {
          if (value == null || valueTable == null) {
            return null;
          }
          int bucket = Hashing.smear(value.hashCode()) & mask;
          for (ImmutableMapEntry<K, V> entry = valueTable[bucket];
              entry != null;
              entry = entry.getNextInValueBucket()) {
            if (value.equals(entry.getValue())) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        @Before
        public void setUp() throws Exception {
            map = new ArrayMap<String, String>();
            map.put(null, null);
            map.put("1", "test");
            map.put("2", "test2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/PreauthIntegrityService.java

         */
        public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException {
            if (sessionId == null || sessionId.isEmpty()) {
                throw new CIFSException("Session ID cannot be null or empty");
            }
            if (salt == null || salt.length < 16) {
                throw new CIFSException("Invalid preauth salt: minimum 16 bytes required");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            SuggestItem item = defaultContentsParser.parseSearchWords(words, null, fields, null, null, 1, createDefaultReadingConverter(),
                    createDefaultNormalizer(), analyzer, null);
    
            // Should filter out whitespace-only words
            if (item != null) {
                assertFalse(item.getText().contains("   "));
            }
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .build(),
        )
        val source = newEventSource()
        assertThat(source.request().url.encodedPath).isEqualTo("/")
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
      }
    
      @RetryingTest(5)
      fun cancelInEventShortCircuits() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            return "[ " + "FROM:("
                    + (source == null ? "no source" : (source.md == null ? "no source MD" : source.md.toString())) + ") "
                    + "TO:(" + (target == null ? "no target" : (target.md == null ? "no target MD" : target.md.toString()))
                    + ") " + "version=" + version + ", scope=" + (scope == null ? "null" : scope.getScope()) + ", depth="
                    + depth + "]";
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * was acquired, or null if no connection was acquired. The acquired connection will also be
       * given to [call] who may (for example) assign it to a [RealCall.connection].
       *
       * This confirms the returned connection is healthy before returning it. If this encounters any
       * unhealthy connections in its search, this will clean them up.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("Null treeConnection throws NPE")
        void constructorNullTreeConnection() {
            // Null treeConnection throws NPE when acquire() is called
            assertThrows(NullPointerException.class, () -> new SmbTreeHandleImpl(resourceLoc, null));
        }
    
        @Test
        @DisplayName("Null resourceLoc is accepted but may cause issues later")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java

            map.put(FieldNames.TEXT, item.getText());
    
            final String[][] readings = item.getReadings();
            for (int i = 0; i < readings.length; i++) {
                final String[] values = readings[i] == null ? null : Arrays.stream(readings[i]).distinct().toArray(n -> new String[n]);
                map.put(FieldNames.READING_PREFIX + i, values);
            }
    
            map.put(FieldNames.FIELDS, item.getFields());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    .build();
            projectBuildingRequest.setRepositorySession(session);
    
            DefaultSessionFactory defaultSessionFactory =
                    new DefaultSessionFactory(repositorySystem, null, new DefaultLookup(container), null);
    
            MavenSession mSession = new MavenSession(
                    container,
                    projectBuildingRequest.getRepositorySession(),
                    mavenExecutionRequest,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top