Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,061 for contextos (0.1 sec)

  1. cmd/perf-tests.go

    	}
    	// Read a single byte.
    	n, err = f.r.Read(p[:1])
    	if n > 0 {
    		t := time.Now()
    		f.t = &t
    	}
    	return n, err
    }
    
    // Runs the speedtest on local MinIO process.
    func selfSpeedTest(ctx context.Context, opts speedTestOpts) (res SpeedTestResult, err error) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return SpeedTestResult{}, errServerNotInitialized
    	}
    
    	var wg sync.WaitGroup
    	var errOnce sync.Once
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/md5"
    	crand "crypto/rand"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/config/storageclass"
    )
    
    func TestRepeatPutObjectPart(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	var objLayer ObjectLayer
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    	res, err := obj.NewMultipartUpload(context.Background(), bucketName, testObject, opts)
    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("MinIO %s : <ERROR>  %s", instanceType, err)
    	}
    	uploadID := res.UploadID
    	uploadIDCopy := uploadID
    
    	// create an object Part, will be used to test list object parts.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  4. cmd/erasure-encode.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"io"
    )
    
    // Writes to multiple writers
    type multiWriter struct {
    	writers     []io.Writer
    	writeQuorum int
    	errs        []error
    }
    
    // Write writes data to writers.
    func (p *multiWriter) Write(ctx context.Context, blocks [][]byte) error {
    	for i := range p.writers {
    		if p.errs[i] != nil {
    			continue
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            QueryContext context = buildQuery("test");
            assertEquals(2, context.sortBuilders().size());
        }
    
        public void test_addDefaultSort_scoreField() {
            queryHelper.addDefaultSort("_score", "DESC");
    
            QueryContext context = buildQuery("test");
            assertEquals(1, context.sortBuilders().size());
            assertTrue(context.sortBuilders().get(0).toString().contains("_score"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/request-files.md

    Zum Beispiel können Sie innerhalb einer `async` *Pfadoperation-Funktion* den Inhalt wie folgt auslesen:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Wenn Sie sich innerhalb einer normalen `def`-*Pfadoperation-Funktion* befinden, können Sie direkt auf `UploadFile.file` zugreifen, zum Beispiel:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Technische Details zu `async`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          checkNotNull(builder);
          contents.addAll(builder.contents);
          return this;
        }
    
        @Override
        public ImmutableList<E> build() {
          return copyOf(contents);
        }
    
        ImmutableList<E> buildSorted(Comparator<? super E> comparator) {
          Collections.sort(contents, comparator);
          return copyOf(contents);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

        public int size() {
            // Context header (16) + name length (4) + padding to 8-byte alignment (4) + data (32)
            return 16 + 4 + 4 + STRUCTURE_SIZE;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        public List getActiveProfiles() throws ProfileActivationException {
            DefaultProfileActivationContext context = new DefaultProfileActivationContext();
            context.setActiveProfileIds(activatedIds);
            context.setInactiveProfileIds(deactivatedIds);
            context.setSystemProperties(System.getProperties());
            context.setUserProperties(requestProperties);
    
            final List<ProfileActivationException> errors = new ArrayList<>();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-process.go

    	processVirtualMemoryMaxBytesMD    = NewGaugeMD(processVirtualMemoryMaxBytes, "Maximum virtual memory size in bytes")
    )
    
    func loadProcStatMetrics(ctx context.Context, stat procfs.ProcStat, m MetricValues) {
    	if stat.CPUTime() > 0 {
    		m.Set(processCPUTotalSeconds, float64(stat.CPUTime()))
    	}
    
    	if stat.ResidentMemory() > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top