Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 550 for initializers (0.09 sec)

  1. cmd/erasure_test.go

    type erasureTestSetup struct {
    	dataBlocks   int
    	parityBlocks int
    	blockSize    int64
    	diskPaths    []string
    	disks        []StorageAPI
    }
    
    // Returns an initialized setup for erasure tests.
    func newErasureTestSetup(tb testing.TB, dataBlocks int, parityBlocks int, blockSize int64) (*erasureTestSetup, error) {
    	diskPaths := make([]string, dataBlocks+parityBlocks)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. cmd/dynamic-timeouts.go

    	dt := newDynamicTimeout(opts.timeout, opts.minimum)
    	dt.retryInterval = opts.retryInterval
    	return dt
    }
    
    // newDynamicTimeout returns a new dynamic timeout initialized with timeout value
    func newDynamicTimeout(timeout, minimum time.Duration) *dynamicTimeout {
    	if timeout <= 0 || minimum <= 0 {
    		panic("newDynamicTimeout: negative or zero timeout")
    	}
    	if minimum > timeout {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 19 23:21:05 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/config.go

    			Key:   LookupBindPassword,
    			Value: "",
    		},
    	}
    )
    
    // Enabled returns if LDAP config is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(ServerAddr) != ""
    }
    
    // Lookup - initializes LDAP config, overrides config, if any ENV values are set.
    func Lookup(s config.Config, rootCAs *x509.CertPool) (l Config, err error) {
    	l = Config{}
    
    	// Purge all removed keys first
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

        protected int maxDocumentCacheSize;
    
        private IngestFactory ingestFactory = null;
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            maxDocumentRequestSize = Long.parseLong(ComponentUtil.getFessConfig().getIndexerDataMaxDocumentRequestSize());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

        protected List<Pair<String, Float>> additionalDefaultList = new ArrayList<>();
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (responseFields == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        public HtmlResponse createnew() {
            saveToken();
            return asHtml(path_AdminDuplicatehost_AdminDuplicatehostEditJsp).useForm(CreateForm.class, op -> {
                op.setup(form -> {
                    form.initialize();
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

        public HtmlResponse createnew() {
            saveToken();
            return asHtml(path_AdminKeymatch_AdminKeymatchEditJsp).useForm(CreateForm.class, op -> {
                op.setup(form -> {
                    form.initialize();
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. ci/devinfra/docker/windows/Dockerfile

        [Environment]::SetEnvironmentVariable('PATH', $env:PATH, 'Machine');
    
    # Disable signature checking on pacman because we cannot initialize the keyring.
    RUN Add-Content -Path C:\tools\msys64\etc\pacman.d\mirrorlist.mingw32 -Value 'SigLevel = Never'
    RUN Add-Content -Path C:\tools\msys64\etc\pacman.d\mirrorlist.mingw64 -Value 'SigLevel = Never'
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 20 13:57:04 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. cmd/metacache-stream.go

    		err := w.creator()
    		w.creator = nil
    		if err != nil {
    			return fmt.Errorf("metacacheWriter: unable to create writer: %w", err)
    		}
    		if w.mw == nil {
    			return errors.New("metacacheWriter: writer not initialized")
    		}
    	}
    	for _, o := range objs {
    		if len(o.name) == 0 {
    			return errors.New("metacacheWriter: no name provided")
    		}
    		// Indicate EOS
    		err := w.mw.WriteBool(true)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top