Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1721 - 1730 of 4,195 for nulls (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt

      fun createFromSslSession() {
        val sslSession =
          FakeSSLSession(
            "TLSv1.3",
            "TLS_AES_128_GCM_SHA256",
            arrayOf(serverCertificate.certificate, serverIntermediate.certificate),
            null,
          )
    
        val handshake = sslSession.handshake()
    
        assertThat(handshake.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        assertThat(handshake.cipherSuite).isEqualTo(CipherSuite.TLS_AES_128_GCM_SHA256)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        int expectedHashCode = 0;
        for (E element : elements) {
          expectedHashCode += (element == null) ? 0 : element.hashCode();
        }
    
        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements (with "
                + "a null element counting as having a hash of zero).",
            expectedHashCode,
            getSet().hashCode());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. clause/expression.go

    		if rv.Len() == 0 {
    			builder.WriteString(" IN (NULL)")
    		} else {
    			builder.WriteString(" IN (")
    			for i := 0; i < rv.Len(); i++ {
    				if i > 0 {
    					builder.WriteByte(',')
    				}
    				builder.AddVar(builder, rv.Index(i).Interface())
    			}
    			builder.WriteByte(')')
    		}
    	default:
    		if eqNil(eq.Value) {
    			builder.WriteString(" IS NULL")
    		} else {
    			builder.WriteString(" = ")
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Nov 04 07:04:52 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

        /**
         * Test that the constructor handles a null channel binding hash.
         */
        @Test
        void testConstructorWithNullHash() {
            AvChannelBindings avChannelBindings = new AvChannelBindings(null);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertNull(avChannelBindings.getRaw(), "Value should be null when null hash is provided");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
        @DisplayName("calling getters on null reference throws NPE")
        void testNullReference() {
            AllocInfo nullRef = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

         * @param context The environmental context used to determine the activation status of a profile, must not be
         *            {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         * @return The profiles that have been activated, never {@code null}.
         */
        List<Profile> getActiveProfiles(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java

            this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null);
        }
    
        public MavenBuildTimestamp(Date time, String timestampFormat) {
            if (timestampFormat == null) {
                timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT;
            }
            if (time == null) {
                time = new Date();
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

      }
    
      public void testNull() {
        assertThrows(NullPointerException.class, () -> map.put(null, new Integer(1)));
        map.putInstance(Integer.class, null);
        assertThat(map.get(Integer.class)).isNull();
        assertThat(map.getInstance(Integer.class)).isNull();
    
        map.put(Long.class, null);
        assertThat(map.get(Long.class)).isNull();
        assertThat(map.getInstance(Long.class)).isNull();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. docs/distributed/decom-compressed-sse-s3.sh

    ./mc mb -l myminio/versioned
    
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    ## Soft delete (creates delete markers)
    ./mc rm -r --force myminio/versioned >/dev/null
    
    ## mirror again to create another set of version on top
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    expected_checksum=$(./mc cat internal/dsync/drwmutex.go | md5sum)
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

            final Map<String, Object> sourceMap = new HashMap<>();
            if (name != null) {
                sourceMap.put("name", name);
            }
            if (password != null) {
                sourceMap.put("password", password);
            }
            if (groups != null) {
                sourceMap.put("groups", groups);
            }
            if (roles != null) {
                sourceMap.put("roles", roles);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top