Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for Walk (0.19 sec)

  1. cmd/batch-rotate.go

    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	retryAttempts := ri.RetryAttempts
    	ctx, cancel := context.WithCancel(ctx)
    
    	results := make(chan ObjectInfo, 100)
    	if err := api.Walk(ctx, r.Bucket, r.Prefix, results, WalkOptions{
    		Marker: lastObject,
    		Filter: selectObj,
    	}); err != nil {
    		cancel()
    		// Do not need to retry if we can't list objects on source.
    		return err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            Path outputDirectory = Paths.get(project.getBuild().getOutputDirectory());
            if (!outputDirectory.toFile().exists()) {
                return true;
            }
    
            try (Stream<Path> outputFiles = Files.walk(outputDirectory)) {
                // Not using File#lastModified() to avoid a Linux JDK8 milliseconds precision bug: JDK-8177809.
                long artifactLastModified =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    		if err != nil {
    			log.Infof("file: %s is not closed: %v", path, err)
    		}
    		warningsByFilename[path] = warning
    	}
    	processDirectory := func(directory string, processFile func(string)) error {
    		err := filepath.Walk(directory, func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    
    			if info.IsDir() {
    				return nil
    			}
    
    			if isFileFormatValid(path) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. docs/bucket/replication/DESIGN.md

    set in the metadata with the timestamp of replication and ResetID. For saving iops, the objects which are re-replicated are not first set to `PENDING` state.
    
    This is a slower operation that does not use replication queues and is designed to walk the namespace and replicate objects one at a time so as not to impede server load. Ideally, resync should not be initiated for multiple buckets simultaneously - progress of the syncing can be monitored by looking at `mc replicate resync status alias/bucket...
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    }
    
    // Walk a bucket, optionally prefix recursively, until we have returned
    // all the content to objectInfo channel, it is callers responsibility
    // to allocate a receive channel for ObjectInfo, upon any unhandled
    // error walker returns error. Optionally if context.Done() is received
    // then Walk() stops the walker.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Throwables.java

       *     JDK 8 and on all Android versions. Use {@link Throwable#getStackTrace()} directly, or where
       *     possible use the {@code java.lang.StackWalker.walk} method introduced in JDK 9.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTraceIsLazy, jlaStackTrace
      public static List<StackTraceElement> lazyStackTrace(Throwable throwable) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Throwables.java

       *     JDK 8 and on all Android versions. Use {@link Throwable#getStackTrace()} directly, or where
       *     possible use the {@code java.lang.StackWalker.walk} method introduced in JDK 9.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTraceIsLazy, jlaStackTrace
      public static List<StackTraceElement> lazyStackTrace(Throwable throwable) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    	ch := make(chan itemOrErr)
    
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    		// Allocate new results channel to receive ObjectInfo.
    		objInfoCh := make(chan ObjectInfo)
    
    		if err := objAPI.Walk(ctx, minioMetaBucket, pathPrefix, objInfoCh, WalkOptions{}); err != nil {
    			select {
    			case ch <- itemOrErr{Err: err}:
    			case <-ctx.Done():
    			}
    			return
    		}
    
    		for obj := range objInfoCh {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	}
    	// mark resync status as resync started
    	if !heal {
    		s.markStatus(ResyncStarted, opts, objectAPI)
    	}
    
    	// Walk through all object versions - Walk() is always in ascending order needed to ensure
    	// delete marker replicated to target after object version is first created.
    	if err := objectAPI.Walk(ctx, opts.bucket, "", objInfoCh, WalkOptions{}); err != nil {
    		replLogIf(ctx, err)
    		return
    	}
    
    	s.RLock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. cmd/batch-expire.go

    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    	results := make(chan ObjectInfo, workerSize)
    	if err := api.Walk(ctx, r.Bucket, r.Prefix, results, WalkOptions{
    		Marker:       lastObject,
    		LatestOnly:   false, // we need to visit all versions of the object to implement purge: retainVersions
    		VersionsSort: WalkVersionsSortDesc,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top