Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 2,995 for DeVault (0.05 seconds)

  1. src/main/java/org/codelibs/fess/util/OptionalUtil.java

    package org.codelibs.fess.util;
    
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * Utility class for Optional operations.
     */
    public class OptionalUtil {
    
        /**
         * Default constructor.
         */
        private OptionalUtil() {
            // Default constructor
        }
    
        /**
         * Creates an OptionalEntity from a nullable entity.
         *
         * @param <T> the type of the entity
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. tests/test_dump_json_fast_path.py

    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    app = FastAPI()
    
    
    @app.get("/default")
    def get_default() -> Item:
        return Item(name="widget", price=9.99)
    
    
    @app.get("/explicit", response_class=JSONResponse)
    def get_explicit() -> Item:
        return Item(name="widget", price=9.99)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:07:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  3. internal/once/singleton.go

    func (s *Singleton[T]) GetNonBlocking() *T {
    	select {
    	case <-s.set:
    		return s.v
    	default:
    		return nil
    	}
    }
    
    // IsSet will return whether the singleton has been set.
    func (s *Singleton[T]) IsSet() bool {
    	select {
    	case <-s.set:
    		return true
    	default:
    		return false
    	}
    }
    
    // Set the value and unblock all Get requests.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 952 bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertEquals("present", presentOptional.orElse("default"));
    
            // Test with null value
            String nullValue = null;
            OptionalEntity<String> emptyOptional = OptionalUtil.ofNullable(nullValue);
    
            assertFalse(emptyOptional.isPresent());
            assertEquals("default", emptyOptional.orElse("default"));
    
            // Test that empty optional returns null instead of throwing
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /**
         * The CRUD operation mode for this form.
         * Indicates whether this is a create, read, update, or delete operation.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

     * to an OpenSearch index for downstream processing.
     */
    public class LogNotificationTarget implements TimeoutTarget {
    
        /**
         * Default constructor.
         */
        public LogNotificationTarget() {
            // Default constructor
        }
    
        private static final Logger logger = LogManager.getLogger(LogNotificationTarget.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/http/HandlerTest.java

            handlers.put("https", httpsHandler);
        }
    
        @Test
        void testGetDefaultPort() {
            // This test verifies that the handler returns the correct default HTTP port.
            assertEquals(Handler.DEFAULT_HTTP_PORT, handler.getDefaultPort(), "Default port should be 80 for HTTP.");
        }
    
        @Test
        void testOpenConnection_HttpProtocol_ReturnsNtlmHttpURLConnection() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. internal/s3select/sql/timestampfuncs.go

    	case hasSecond:
    		return t.Format(layoutSecond)
    	case hasTime || hasZone:
    		return t.Format(layoutMinute)
    	case hasDay:
    		return t.Format(layoutDay)
    	case hasMonth:
    		return t.Format(layoutMonth)
    	default:
    		return t.Format(layoutYear)
    	}
    }
    
    const (
    	timePartYear           = "YEAR"
    	timePartMonth          = "MONTH"
    	timePartDay            = "DAY"
    	timePartHour           = "HOUR"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Default groups should be empty", 0, getDefaultGroups().length);
            assertEquals("Default payload should be empty", 0, getDefaultPayload().length);
            assertEquals("Default minKey should be empty", StringUtil.EMPTY, getDefaultMinKey());
            assertEquals("Default maxKey should be empty", StringUtil.EMPTY, getDefaultMaxKey());
        }
    
        // Test annotation on field
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/InstallBody.java

    public class InstallBody {
        /** Name of the plugin to install (required, max 100 characters) */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * Default constructor.
         */
        public InstallBody() {
            // Default constructor
        }
    
        /** Version of the plugin to install (required, max 100 characters) */
        @Required
        @Size(max = 100)
        public String version;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top