Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 3,251 for creates (0.1 seconds)

  1. internal/once/singleton.go

    package once
    
    // Singleton contains a pointer to T that must be set once.
    // Until the value is set all Get() calls will block.
    type Singleton[T any] struct {
    	v   *T
    	set chan struct{}
    }
    
    // NewSingleton creates a new unset singleton.
    func NewSingleton[T any]() *Singleton[T] {
    	return &Singleton[T]{set: make(chan struct{}), v: nil}
    }
    
    // Get will return the singleton value.
    func (s *Singleton[T]) Get() *T {
    	<-s.set
    	return s.v
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 952 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

                return StorageType.S3;
            }
    
            // Default to S3-compatible (MinIO, etc.)
            return StorageType.S3_COMPAT;
        }
    
        /**
         * Creates a StorageClient based on FessConfig.
         *
         * @param fessConfig the Fess configuration
         * @return configured StorageClient
         */
        public static StorageClient createClient(final FessConfig fessConfig) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ArrayListMultimap.java

        extends AbstractListMultimap<K, V> {
      // Default from ArrayList
      private static final int DEFAULT_VALUES_PER_KEY = 3;
    
      @VisibleForTesting transient int expectedValuesPerKey;
    
      /**
       * Creates a new, empty {@code ArrayListMultimap} with the default initial capacities.
       *
       * <p>You may also consider the equivalent {@code
       * MultimapBuilder.hashKeys().arrayListValues().build()}, which provides more control over the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

                        return null;
                    }))
                    .status(ApiResult.Status.OK)
                    .result());
        }
    
        /**
         * Creates a new stopwords dictionary item.
         *
         * @param dictId the dictionary ID
         * @param body the request body containing stopwords item information
         * @return JSON response with result status
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java

    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for File Authentication.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /** The CRUD operation mode for this form. */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

    /**
     * OpenID Connect credential implementation.
     */
    public class OpenIdConnectCredential implements LoginCredential, FessCredential {
    
        private final Map<String, Object> attributes;
    
        /**
         * Creates a new OpenID Connect credential.
         *
         * @param attributes the attributes from OpenID Connect provider
         */
        public OpenIdConnectCredential(final Map<String, Object> attributes) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer sortOrder;
    
        /** The username of who created this duplicate host entry */
        @Size(max = 1000)
        public String createdBy;
    
        /** The timestamp when this duplicate host entry was created */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            String createdStr;
            final Date created = DocumentUtil.getValue(doc, fessConfig.getIndexFieldCreated(), Date.class);
            if (created != null) {
                final SimpleDateFormat sdf = new SimpleDateFormat(CoreLibConstants.DATE_FORMAT_ISO_8601_EXTEND);
                createdStr = sdf.format(created);
            } else {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new web configuration setting.
         *
         * @param body the web configuration data to create
         * @return JSON response containing the created web configuration setting ID
         */
        // POST /api/admin/webconfig/setting
        @Execute
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         *
         * @return the list of remote repositories, or null if not specified
         */
        @Nullable
        List<RemoteRepository> getRepositories();
    
        /**
         * Creates a new ProjectBuilderRequest with the specified session and source.
         *
         * @param session the Maven session
         * @param source the source of the project to build
         * @return a new ProjectBuilderRequest
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top