Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for nextFast (1.17 sec)

  1. src/mime/multipart/formdata.go

    	if maxMemoryBytes <= 0 {
    		if maxMemory < 0 {
    			maxMemoryBytes = 0
    		} else {
    			maxMemoryBytes = math.MaxInt64
    		}
    	}
    	var copyBuf []byte
    	for {
    		p, err := r.nextPart(false, maxMemoryBytes, maxHeaders)
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			return nil, err
    		}
    		if maxParts <= 0 {
    			return nil, ErrMessageTooLarge
    		}
    		maxParts--
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

              // Task must be null, since each execution on this executor can only produce one more
              // execution.
              checkState(submittingTaskQueue.nextTask == null);
              submittingTaskQueue.nextTask = task;
              // requireNonNull(delegate) is safe for reasons similar to requireNonNull(sequencer).
              submittingTaskQueue.nextExecutor = requireNonNull(delegate);
              delegate = null;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/net/net_windows_test.go

    	dups := make(map[string][]string)
    	for name, addr := range want {
    		if _, ok := dups[addr]; !ok {
    			dups[addr] = make([]string, 0)
    		}
    		dups[addr] = append(dups[addr], name)
    	}
    
    nextWant:
    	for name, wantAddr := range want {
    		if haveAddr, ok := have[name]; ok {
    			if haveAddr != wantAddr {
    				t.Errorf("unexpected MAC address for %q - %v, want %v", name, haveAddr, wantAddr)
    			}
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/cmd/dist/test.go

    // When finished, it emits header for nextTest, which is going to run after the
    // pending commands are done (and runPending returns).
    // A test should call runPending if it wants to make sure that it is not
    // running in parallel with earlier tests, or if it has some other reason
    // for needing the earlier tests to be done.
    func (t *tester) runPending(nextTest *distTest) {
    	worklist := t.worklist
    	t.worklist = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_4x.md

        ```kotlin
        val response: Response = call.execute()
        val multipartReader = MultipartReader(response.body!!)
    
        multipartReader.use {
          while (true) {
            val part = multipartReader.nextPart() ?: break
            process(part.headers, part.body)
          }
        }
        ```
    
     *  New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like
        `multipart/mixed; boundary="abc"`.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  6. src/net/http/fs_test.go

    				t.Errorf("range=%q Content-Length = %d; want %d", rt.r, g, w)
    				continue
    			}
    			mr := multipart.NewReader(bytes.NewReader(body), params["boundary"])
    			for ri, rng := range rt.ranges {
    				part, err := mr.NextPart()
    				if err != nil {
    					t.Errorf("range=%q, reading part index %d: %v", rt.r, ri, err)
    					continue Cases
    				}
    				wantContentRange = fmt.Sprintf("bytes %d-%d/%d", rng.start, rng.end-1, testFileLen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		maxMemoryBytes := 2 * int64(10<<20)
    		maxMemoryBytes -= int64(len(name))
    		maxMemoryBytes -= mapEntryOverhead
    		if maxMemoryBytes < 0 {
    			// We can't actually take this path, since nextPart would already have
    			// rejected the MIME headers for being too large. Check anyway.
    			apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  8. okhttp/api/okhttp.api

    	public fun <init> (Lokhttp3/ResponseBody;)V
    	public fun <init> (Lokio/BufferedSource;Ljava/lang/String;)V
    	public final fun boundary ()Ljava/lang/String;
    	public fun close ()V
    	public final fun nextPart ()Lokhttp3/MultipartReader$Part;
    }
    
    public final class okhttp3/MultipartReader$Part : java/io/Closeable {
    	public fun <init> (Lokhttp3/Headers;Lokio/BufferedSource;)V
    	public final fun body ()Lokio/BufferedSource;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Form).RemoveAll", Method, 0},
    		{"(*Part).Close", Method, 0},
    		{"(*Part).FileName", Method, 0},
    		{"(*Part).FormName", Method, 0},
    		{"(*Part).Read", Method, 0},
    		{"(*Reader).NextPart", Method, 0},
    		{"(*Reader).NextRawPart", Method, 14},
    		{"(*Reader).ReadForm", Method, 0},
    		{"(*Writer).Boundary", Method, 0},
    		{"(*Writer).Close", Method, 0},
    		{"(*Writer).CreateFormField", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg mime/multipart, method (*Part) FileName() string
    pkg mime/multipart, method (*Part) FormName() string
    pkg mime/multipart, method (*Part) Read([]uint8) (int, error)
    pkg mime/multipart, method (*Reader) NextPart() (*Part, error)
    pkg mime/multipart, method (*Reader) ReadForm(int64) (*Form, error)
    pkg mime/multipart, method (*Writer) Boundary() string
    pkg mime/multipart, method (*Writer) Close() error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top