Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,719 for onText (0.05 sec)

  1. cmd/metacache-stream.go

    	}
    	return metaCacheEntriesSorted{o: res}, nil
    }
    
    // readAll will return all remaining objects on the dst channel and close it when done.
    // The context allows the operation to be canceled.
    func (r *metacacheReader) readAll(ctx context.Context, dst chan<- metaCacheEntry) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	defer xioutil.SafeClose(dst)
    	if r.current.name != "" {
    		select {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/api-response.go

    }
    
    func writeErrorResponseString(ctx context.Context, w http.ResponseWriter, err APIError, reqURL *url.URL) {
    	// Generate string error response.
    	writeResponse(w, err.HTTPStatusCode, []byte(err.Description), mimeNone)
    }
    
    // writeErrorResponseJSON - writes error response in JSON format;
    // useful for admin APIs.
    func writeErrorResponseJSON(ctx context.Context, w http.ResponseWriter, err APIError, reqURL *url.URL) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. internal/dsync/drwmutex_test.go

    package dsync
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    const (
    	id     = "1234-5678"
    	source = "main.go"
    )
    
    func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    	drwm1 := NewDRWMutex(ds, "simplelock")
    	ctx1, cancel1 := context.WithCancel(context.Background())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  4. cmd/data-usage.go

    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func(ctx context.Context) (map[string]uint64, error) {
    			m := make(map[string]uint64)
    			for _, pool := range z.serverPools {
    				for _, er := range pool.sets {
    					// Load bucket usage prefixes
    					ctx, done := context.WithTimeout(ctx, 2*time.Second)
    					ok := cache.load(ctx, er, bucket+slashSeparator+dataUsageCacheName) == nil
    					done()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. internal/store/store.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package store
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"strconv"
    	"strings"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    const (
    	retryInterval = 3 * time.Second
    )
    
    type logger = func(ctx context.Context, err error, id string, errKind ...interface{})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. cmd/background-newdisks-heal-ops.go

    			if len(healDisks) == 0 {
    				// Reset for next interval.
    				diskCheckTimer.Reset(defaultMonitorNewDiskInterval)
    				continue
    			}
    
    			// Reformat disks immediately
    			_, err := z.HealFormat(context.Background(), false)
    			if err != nil && !errors.Is(err, errNoHealRequired) {
    				healingLogIf(ctx, err)
    				// Reset for next interval.
    				diskCheckTimer.Reset(defaultMonitorNewDiskInterval)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    func (s *erasureSets) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) {
    	set := s.getHashedSet(object)
    	return set.GetObjectNInfo(ctx, bucket, object, rs, h, opts)
    }
    
    // PutObject - writes an object to hashedSet based on the object name.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  8. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

            assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader())));
    
            final ClassLoader context = Thread.currentThread().getContextClassLoader();
            try {
                final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader());
                Thread.currentThread().setContextClassLoader(cl);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    // The satisfied tags are derived from context but only those that
    // matter (the ones listed in the tags argument plus GOOS and GOARCH) are used.
    // The tags list, which came from go/build's Package.AllTags,
    // is known to be sorted.
    func tagKey(dir string, context *build.Context, tags []string) string {
    	ctags := map[string]bool{
    		context.GOOS:   true,
    		context.GOARCH: true,
    	}
    	if context.CgoEnabled {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  10. scripts/deploy_docs_status.py

                description="No Docs Changes",
                context="deploy-docs",
                target_url=run_url,
            )
            logging.info("No docs changes found")
            return
        if not settings.deploy_url:
            current_commit.create_status(
                state="pending",
                description="Deploying Docs",
                context="deploy-docs",
                target_url=run_url,
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top