Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for exits (0.17 sec)

  1. internal/logger/logrotate.go

    func (w *Writer) Write(p []byte) (n int, err error) {
    	return w.pw.Write(p)
    }
    
    // Close closes the writer.
    // Any accepted writes will be flushed. Any new writes will be rejected.
    // Once Close() exits, files are synchronized to disk.
    func (w *Writer) Close() error {
    	w.pw.CloseWithError(nil)
    
    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    }
    
    // ObjectAlreadyExists object already exists.
    type ObjectAlreadyExists GenericError
    
    func (e ObjectAlreadyExists) Error() string {
    	return "Object: " + e.Bucket + "/" + e.Object + " already exists"
    }
    
    // ObjectExistsAsDirectory object already exists as a directory.
    type ObjectExistsAsDirectory GenericError
    
    func (e ObjectExistsAsDirectory) Error() string {
    	return "Object exists on : " + e.Bucket + " as directory " + e.Object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    	},
    	ErrNoSuchBucket: {
    		Code:           "NoSuchBucket",
    		Description:    "The specified bucket does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrNoSuchBucketPolicy: {
    		Code:           "NoSuchBucketPolicy",
    		Description:    "The bucket policy does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrNoSuchBucketLifecycle: {
    		Code:           "NoSuchBucketLifecycle",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  4. cmd/admin-bucket-handlers.go

    	}
    
    	target.SourceBucket = bucket
    	var ops []madmin.TargetUpdateType
    	if update {
    		ops = madmin.GetTargetUpdateOps(r.Form)
    	} else {
    		var exists bool // true if arn exists
    		target.Arn, exists = globalBucketTargetSys.getRemoteARN(bucket, &target, "")
    		if exists && target.Arn != "" { // return pre-existing ARN
    			data, err := json.Marshal(target.Arn)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    		defer ticker.Stop()
    		var exit bool
    		for !exit {
    			select {
    			case <-ticker.C:
    			case <-ctx.Done():
    				exit = true
    			}
    			metaMu.Lock()
    			meta := *mc.meta
    			meta, err = o.updateMetacacheListing(meta, rpc)
    			if err == nil && time.Since(meta.lastHandout) > metacacheMaxClientWait {
    				cancel()
    				exit = true
    				meta.status = scanStateError
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    	if updReq.IsRemove {
    		updatedAt, err = globalIAMSys.RemoveUsersFromGroup(ctx, updReq.Group, updReq.Members)
    	} else {
    		// Check if group already exists
    		if _, gerr := globalIAMSys.GetGroupDescription(updReq.Group); gerr != nil {
    			// If group does not exist, then check if the group has beginning and end space characters
    			// we will reject such group names.
    			if errors.Is(gerr, errNoSuchGroup) && hasSpaceBE(updReq.Group) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables.go

    	// we cannot make assumptions there.
    
    	// -A OUTPUT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes dst,dst -j SNAT --to-source 169.254.7.127
    	iptablesBuilder.AppendRuleV4(
    		iptableslog.UndefinedCommand, ChainHostPostrouting, iptablesconstants.NAT,
    		"-m", "owner",
    		"--socket-exists",
    		"-p", "tcp",
    		"-m", "set",
    		"--match-set", fmt.Sprintf(ipset.V4Name, ProbeIPSet),
    		"dst",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. cmd/signals.go

    )
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    	stopProcess := func() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            // No project, but most certainly a dependency which has been built previously
            File packagedArtifactFile = findInProjectLocalRepository(artifact);
            if (packagedArtifactFile != null && packagedArtifactFile.exists()) {
                return packagedArtifactFile;
            }
    
            return null;
        }
    
        public List<String> findVersions(Artifact artifact) {
            List<String> versions = getProjects()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    	}
    	return pinfo.Index, nil
    }
    
    // getPoolIdxExistingNoLock returns the (first) found object pool index containing an object.
    // If the object exists, but the latest version is a delete marker, the index with it is still returned.
    // If the object does not exist ObjectNotFound error is returned.
    // If any other error is found, it is returned.
    // The check is skipped if there is only one pool, and 0, nil is always returned in that case.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top