Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,558 for case (0.04 sec)

  1. cmd/admin-handlers-idp-config.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigInvalidIDPType), r.URL)
    		return
    	}
    
    	var subSys string
    	switch idpCfgType {
    	case madmin.OpenidIDPCfg:
    		subSys = madmin.IdentityOpenIDSubSys
    	case madmin.LDAPIDPCfg:
    		subSys = madmin.IdentityLDAPSubSys
    	}
    
    	cfgName := mux.Vars(r)["name"]
    	cfgTarget := madmin.Default
    	if cfgName != "" {
    		cfgTarget = cfgName
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

            IOException ioe = null;
    
            switch ( this.state ) {
            case 0: /* not connected - just return */
            case 5:
            case 6:
                return false;
            case 2:
                hard = true;
            case 3: /* connected - go ahead and disconnect */
                if ( this.response_map.size() != 0 && !hard && inUse ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

            try {
                switch (type) {
                case PRE_PROCESSING:
                    delayBeforeProcessing();
                    break;
                case POST_PROCESSING:
                    delayAfterProcessing();
                    break;
                case NO_URL_IN_QUEUE:
                    delayAtNoUrlInQueue();
                    break;
                case WAIT_NEW_URL:
                    delayForWaitingNewUrl();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. cmd/warm-backend-s3.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Validation code
    	switch {
    	case conf.AWSRoleWebIdentityTokenFile == "" && conf.AWSRoleARN != "" || conf.AWSRoleWebIdentityTokenFile != "" && conf.AWSRoleARN == "":
    		return nil, errors.New("both the token file and the role ARN are required")
    	case conf.AccessKey == "" && conf.SecretKey != "" || conf.AccessKey != "" && conf.SecretKey == "":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. internal/config/scanner/scanner.go

    	case "fastest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 0, 0, time.Second
    	case "fast":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
    	case "slowest":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

                        switch (type) {
                            case INITIATED:
                                delegate.transferInitiated(transferEvent);
                                break;
                            case STARTED:
                                delegate.transferStarted(transferEvent);
                                break;
                            case PROGRESSED:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. cmd/os_windows.go

    				continue
    			}
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0:
    			name += SlashSeparator
    		}
    
    		count--
    		entries = append(entries, name)
    
    	}
    
    	return entries, nil
    }
    
    func globalSync() {
    	// no-op on windows
    }
    
    func syscallErrToFileErr(dirPath string, err error) error {
    	switch err {
    	case nil:
    		return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. cmd/setup-type.go

    	DistErasureSetupType
    )
    
    func (setupType SetupType) String() string {
    	switch setupType {
    	case FSSetupType:
    		return globalMinioModeFS
    	case ErasureSDSetupType:
    		return globalMinioModeErasureSD
    	case ErasureSetupType:
    		return globalMinioModeErasure
    	case DistErasureSetupType:
    		return globalMinioModeDistErasure
    	}
    
    	return "unknown"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    				}
    				traceFn(sz, err)
    				select {
    				case <-ctx.Done():
    					return
    				case <-s.resyncCancelCh:
    					return
    				case resultCh <- st:
    				}
    			}
    		}(ctx, i)
    	}
    	for res := range objInfoCh {
    		if res.Err != nil {
    			resyncStatus = ResyncFailed
    			replLogIf(ctx, res.Err)
    			return
    		}
    		select {
    		case <-s.resyncCancelCh:
    			resyncStatus = ResyncCanceled
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  10. cni/pkg/util/pluginutil.go

    }
    
    // Waits until a file is modified (returns nil), the context is cancelled (returns context error), or returns error
    func (w *Watcher) Wait(ctx context.Context) error {
    	select {
    	case <-w.Events:
    		return nil
    	case err := <-w.Errors:
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	}
    }
    
    func (w *Watcher) Close() {
    	_ = w.watcher.Close()
    }
    
    // Creates a file watcher that watches for any changes to the directory
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top