Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 289 for _clear (0.05 seconds)

  1. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            // Test with null regex
            cmdList.clear();
            execJob.testAddFessCustomSystemProperties(cmdList, null);
            assertEquals(0, cmdList.size());
    
            // Test with empty regex
            cmdList.clear();
            execJob.testAddFessCustomSystemProperties(cmdList, "");
            assertEquals(0, cmdList.size());
    
            // Clean up
            System.clearProperty("custom.prop.one");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Cannot clear session, not found. sessionId={}", sessionId);
                }
                return false;
            }
            // Verify ownership
            final String sessionUserId = session.getUserId();
            if (userId != null && !userId.equals(sessionUserId)) {
                logger.warn("Cannot clear session, userId mismatch. sessionId={}, requestUserId={}", sessionId, userId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java

            });
        }
    
        /**
         * Clears the chat session.
         *
         * @param form the chat form containing the session ID to clear
         * @return the HTML response redirecting to the chat page
         */
        @Execute
        public HtmlResponse clear(final ChatForm form) {
            if (form.sessionId != null) {
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Mar 10 14:54:51 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/ChatSession.java

                return messages != null ? messages.size() : 0;
            }
        }
    
        /**
         * Clears all messages in this session and updates the last accessed timestamp.
         */
        public void clearMessages() {
            synchronized (messagesLock) {
                if (messages != null) {
                    messages.clear();
                }
            }
            this.lastAccessedAt = LocalDateTime.now();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. src/builtin/builtin.go

    func imag(c ComplexType) FloatType
    
    // The clear built-in function clears maps and slices.
    // For maps, clear deletes all entries, resulting in an empty map.
    // For slices, clear sets all elements up to the length of the slice
    // to the zero value of the respective element type. If the argument
    // type is a type parameter, the type parameter's type set must
    // contain only map or slice types, and clear performs the operation
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Feb 26 17:14:40 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  6. CLAUDE.md

    - **UrlConvertHelper**: URL normalization
    - **ContentLengthHelper**: Content length limits per MIME type
    
    ---
    
    ## Development Workflow
    
    ### Build Commands
    
    ```bash
    mvn clean install              # Build all
    mvn clean install -DskipTests  # Skip tests
    mvn test                       # Run tests
    mvn formatter:format           # Format code
    mvn license:format             # Update license headers
    ```
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/internal/Finalizer.java

        try {
          if (inheritableThreadLocals != null) {
            inheritableThreadLocals.set(thread, null);
          }
        } catch (Throwable t) {
          logger.log(
              Level.INFO,
              "Failed to clear thread local values inherited by reference finalizer thread.",
              t);
        }
    
        thread.start();
      }
    
      private final WeakReference<Class<?>> finalizableReferenceClassReference;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/internal/Finalizer.java

        try {
          if (inheritableThreadLocals != null) {
            inheritableThreadLocals.set(thread, null);
          }
        } catch (Throwable t) {
          logger.log(
              Level.INFO,
              "Failed to clear thread local values inherited by reference finalizer thread.",
              t);
        }
    
        thread.start();
      }
    
      private final WeakReference<Class<?>> finalizableReferenceClassReference;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/StandardTable.java

       * clear()} clears all table mappings.
       */
      @WeakOuter
      private abstract class TableSet<T> extends ImprovedAbstractSet<T> {
        @Override
        public boolean isEmpty() {
          return backingMap.isEmpty();
        }
    
        @Override
        public void clear() {
          backingMap.clear();
        }
      }
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        @Test
        public void test_maxUsernameLength() throws IOException {
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public Integer getLdapMaxUsernameLengthAsInteger() {
                    return Integer.valueOf(-1);
                }
            };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25.4K bytes
    - Click Count (0)
Back to Top