Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3321 - 3330 of 4,689 for nulls (0.04 seconds)

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

       * #hashCode()} to forward to this implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /**
       * A sensible definition of {@link #toString} in terms of {@link #getKey} and {@link #getValue}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

        @Test
        void testGetResults() {
            // Test the getResults method
            // By default, it should return null until results are set
            assertNull(response.getResults());
        }
    
        @Test
        void testGetLastName() {
            // Test the getLastName method
            // By default, it should return null
            assertNull(response.getLastName());
        }
    
        @Test
        void testGetSubCommand() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/HexdumpTest.java

            // Then
            assertNotNull(result);
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle null byte array")
        void testToHexStringNull() {
            // When/Then
            assertThrows(NullPointerException.class, () -> {
                Hexdump.toHexString(null);
            });
        }
    
        @Test
        @DisplayName("Should convert byte array to hex string with offset and length")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
                String basedir = System.getProperty(basedirSysProp);
                if (basedir == null) {
                    basedir = System.getProperty("user.dir");
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    mvnArgs.add("-Daether.remoteRepositoryFilter.prefixes=false");
                    mvnArgs.add(goal);
                    int exitCode = -1;
                    Exception exception = null;
                    try {
                        exitCode = invoker.invoke(
                                parser.parseInvocation(ParserRequest.mvn(mvnArgs, new JLineMessageBuilderFactory())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

        }
    
        @Override
        public List<MavenProject> getDownstreamProjects(MavenProject project, boolean transitive) {
            Objects.requireNonNull(project, "project cannot be null");
    
            Set<String> projectIds = new HashSet<>();
    
            getDownstreamProjects(ProjectSorter.getId(project), projectIds, transitive);
    
            return getSortedProjects(projectIds);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. tests/test_security_oauth2_optional.py

                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                },
                                "client_secret": {
                                    "title": "Client Secret",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                },
                            },
                        },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/CharStreams.java

          return this;
        }
    
        @Override
        public Writer append(@Nullable CharSequence csq, int start, int end) {
          checkPositionIndexes(start, end, csq == null ? "null".length() : csq.length());
          return this;
        }
    
        @Override
        public Writer append(char c) {
          return this;
        }
    
        @Override
        public void flush() {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
      private val client: OkHttpClient?,
      override val carrier: ExchangeCodec.Carrier,
      override val socket: BufferedSocket,
    ) : ExchangeCodec {
      private var state = STATE_IDLE
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            for (int dialect : dialects) {
                assertTrue(dialect >= 0x0300);
            }
        }
    
        @Test
        @DisplayName("Should handle null maximum version")
        void testNullMaximumVersion() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(null);
    
            // When/Then - Should throw NPE based on actual implementation
            assertThrows(NullPointerException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
Back to Top