Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for bletch (0.05 sec)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

      public void testPatternSplitWordBoundary() {
        String string = "foo<bar>bletch";
        Iterable<String> words = Splitter.on(Pattern.compile("\\b")).split(string);
        assertThat(words).containsExactly("foo", "<", "bar", ">", "bletch").inOrder();
      }
    
      @GwtIncompatible // java.util.regex.Pattern
      public void testPatternSplitWordBoundary_singleCharInput() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. internal/store/batch.go

    	"sync"
    	"time"
    )
    
    // ErrBatchFull indicates that the batch is full
    var ErrBatchFull = errors.New("batch is full")
    
    const defaultCommitTimeout = 30 * time.Second
    
    // Batch represents an ordered batch
    type Batch[I any] struct {
    	items  []I
    	limit  uint32
    	store  Store[I]
    	quitCh chan struct{}
    
    	sync.Mutex
    }
    
    // BatchConfig represents the batch config
    type BatchConfig[I any] struct {
    	Limit         uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. internal/config/batch/batch.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package batch
    
    import (
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // Batch job environment variables
    const (
    	ReplicationWorkersWait = "replication_workers_wait"
    	KeyRotationWorkersWait = "keyrotation_workers_wait"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    			count = maxDeleteList
    		}
    		_, errs := api.DeleteObjects(ctx, r.Bucket, objsToDel[:count], opts)
    		allErrs = append(allErrs, errs...)
    		// Next batch of deletion
    		objsToDel = objsToDel[count:]
    	}
    
    	return allErrs
    }
    
    const (
    	batchExpireName                 = "batch-expire.bin"
    	batchExpireFormat               = 1
    	batchExpireVersionV1            = 1
    	batchExpireVersion              = batchExpireVersionV1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. cmd/batch-replicate_test.go

    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(replicateYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	multiPrefixReplicateYaml := `
    replicate:
      apiVersion: v1
      # source of the objects to be replicated
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    						continue
    					}
    
    					batch = append(batch, obj.Item)
    
    					if len(batch) < *r.Source.Snowball.Batch {
    						continue
    					}
    					writeFn(batch)
    					batch = batch[:0]
    				}
    				writeFn(batch)
    				xioutil.SafeClose(slowCh)
    			}()
    		} else {
    			slowCh = walkCh
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    			e.kmsContext[k] = v
    		}
    		ctx["MinIO batch API"] = "batchrotate" // Context for a test key operation
    		if _, err := GlobalKMS.GenerateKey(GlobalContext, &kms.GenerateKeyRequest{Name: e.Key, AssociatedData: ctx}); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // BatchKeyRotateFilter holds all the filters currently supported for batch replication
    type BatchKeyRotateFilter struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/batch-expire_test.go

    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    	if !slices.Equal(job.Expire.Prefix.F(), []string{"myprefix"}) {
    		t.Fatal("Failed to parse batch-job-expire yaml")
    	}
    
    	multiPrefixExpireYaml := `
    expire: # Expire objects that match a condition
      apiVersion: v1
      bucket: mybucket # Bucket where this batch job will expire matching objects from
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. cmd/batch-replicate.go

    	return t == BatchJobReplicateResourceMinIO
    }
    
    // Different types of batch jobs..
    const (
    	BatchJobReplicateResourceMinIO BatchJobReplicateResourceType = "minio"
    	BatchJobReplicateResourceS3    BatchJobReplicateResourceType = "s3"
    
    	// add future targets
    )
    
    // BatchJobReplicateCredentials access credentials for batch replication it may
    // be either for target or source.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. cmd/batch-job-common-types.go

    type BatchJobSnowball struct {
    	line, col   int
    	Disable     *bool   `yaml:"disable" json:"disable"`
    	Batch       *int    `yaml:"batch" json:"batch"`
    	InMemory    *bool   `yaml:"inmemory" json:"inmemory"`
    	Compress    *bool   `yaml:"compress" json:"compress"`
    	SmallerThan *string `yaml:"smallerThan" json:"smallerThan"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top