Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1581 - 1590 of 4,689 for nulls (0.04 seconds)

  1. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            initializeFilter();
    
            // Test request without Authorization header should challenge client
            when(request.getHeader("Authorization")).thenReturn(null);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
            filter.doFilter(request, response, filterChain);
    
            verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

        sslSocket: SSLSocket,
        isFallback: Boolean,
      ) {
        val specToApply = supportedSpec(sslSocket, isFallback)
    
        if (specToApply.tlsVersions != null) {
          sslSocket.enabledProtocols = specToApply.tlsVersionsAsString
        }
    
        if (specToApply.cipherSuites != null) {
          sslSocket.enabledCipherSuites = specToApply.cipherSuitesAsString
        }
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            if (StringUtil.isBlank(requestPath)) {
                return null;
            }
            final String virtualHostKey = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isBlank(virtualHostKey)) {
                return null;
            }
            final String prefix = "/" + virtualHostKey;
            if (requestPath.startsWith(prefix)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/ByteEncodableTest.java

            // Test with a null source array
            ByteEncodable encodable = new ByteEncodable(null, 0, 0);
            byte[] dest = new byte[1];
    
            // Expect NullPointerException from System.arraycopy
            assertThrows(NullPointerException.class, () -> {
                encodable.encode(dest, 0);
            }, "Should throw NullPointerException if source array is null");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

            final List<String> merged = new ArrayList<>();
    
            if (readings1.length > index && readings1[index] != null) {
                Collections.addAll(merged, readings1[index]);
            }
    
            if (readings2.length > index && readings2[index] != null) {
                for (final String reading : readings2[index]) {
                    if (!merged.contains(reading)) {
                        merged.add(reading);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

          |--123--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody
            .Builder("123")
            .addPart("Quick".toRequestBody(null))
            .addPart("Brown".toRequestBody(null))
            .addPart("Fox".toRequestBody(null))
            .build()
        assertThat(body.boundary).isEqualTo("123")
        assertThat(body.type).isEqualTo(MultipartBody.MIXED)
        assertThat(body.contentType().toString())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsClickLog.java

            Map<String, Object> sourceMap = new HashMap<>();
            if (urlId != null) {
                addFieldToSource(sourceMap, "urlId", urlId);
            }
            if (docId != null) {
                addFieldToSource(sourceMap, "docId", docId);
            }
            if (order != null) {
                addFieldToSource(sourceMap, "order", order);
            }
            if (queryId != null) {
                addFieldToSource(sourceMap, "queryId", queryId);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. 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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. 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());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ValidateChangelogEntryTask.java

                    if (entry.getPr() == null) {
                        throw new GradleException(
                            "[" + path + "] must provide a [pr] number (only 'known-issue' and " + "'security' entries can omit this"
                        );
                    }
    
                    if (entry.getArea() == null) {
                        throw new GradleException(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3.3K bytes
    - Click Count (0)
Back to Top