Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2861 - 2870 of 3,758 for null (0.02 sec)

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

            .Builder()
            .url("https://square.com")
            .tag("a" as Any)
            .tag(null)
            .build()
        assertThat(request.tag<Any>()).isNull()
      }
    
      @Test
      fun removeAbsentTag() {
        val request =
          Request
            .Builder()
            .url("https://square.com")
            .tag(null)
            .build()
        assertThat(request.tag<String>()).isNull()
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/PercentEscaper.java

       * character. This has the effect of creating an escaper which has no well-defined inverse but it
       * can be useful when escaping additional characters.
       *
       * @param safeChars a non-null string specifying additional safe characters for this escaper (the
       *     ranges 0..9, a..z and A..Z are always safe and should not be specified here)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

            verify(watchHandle, times(3)).watch();
        }
    
        /**
         * Test watch() returning null (cancelled scenario)
         */
        @Test
        void testWatchReturnsNull() throws CIFSException {
            // Setup mock behavior
            when(watchHandle.watch()).thenReturn(null);
    
            // Execute
            List<FileNotifyInformation> result = watchHandle.watch();
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

             *
             * @return A processed string with terms and spaces, or an empty string if the reader is null or an IOException occurs.
             */
            public String execute() {
                if (reader == null) {
                    return StringUtil.EMPTY;
                }
                final StringBuilder buf = new StringBuilder(initialCapacity);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Execute
            String result = pingSearchEngineJob.execute();
    
            // Assert
            assertEquals("test-cluster is alive.", result);
        }
    
        // Test with null notification addresses
        public void test_execute_nullNotificationAddresses() {
            // Setup mock components
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/Suggester.java

                if (!isSuggestIndex(s)) {
                    return false;
                }
                final List<AliasMetadata> list = response.getAliases().get(s);
                if (list == null) {
                    return true;
                }
                return list.isEmpty();
            }).forEach(s -> {
                if (logger.isInfoEnabled()) {
                    logger.info("Delete index: {}", s);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/opensearch/log/exentity/ClickLog.java

        public String getLogMessage() {
            return getUrl();
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = super.toSource();
            if (fields != null) {
                sourceMap.putAll(fields);
            }
            return sourceMap;
        }
    
        @Override
        protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/JobProcess.java

         * Uses the default buffer size and no output callback.
         *
         * @param process the system process to wrap
         */
        public JobProcess(final Process process) {
            this(process, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        /**
         * Constructs a new JobProcess with the specified process, buffer size, and output callback.
         *
         * @param process the system process to wrap
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

           */
          @JvmStatic
          @JvmName("create")
          fun Call.Factory.asEventSourceFactory(): Factory =
            Factory { request, listener ->
              val actualRequest =
                if (request.header("Accept") == null) {
                  request.newBuilder().addHeader("Accept", "text/event-stream").build()
                } else {
                  request
                }
    
              this.newCall(actualRequest).enqueueEventSource(listener)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

            ): Long {
              check(!closed)
              return data.read(sink, byteCount)
            }
    
            override fun timeout(): Timeout = Timeout.NONE
          }
        return source.buffer().asResponseBody(null, -1)
      }
    
      private fun newResponse(
        responseBody: ResponseBody,
        code: Int = 200,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .request(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top