Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 126 for syncing (0.07 sec)

  1. docs/en/docs/advanced/custom-response.md

    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function (`iterfile`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/endtoend_test.go

    				t.Errorf("%s:%d: malformed hex instruction encoding: %s", input, lineno, line)
    			}
    		}
    
    		if hexes != "" {
    			hexByLine[fmt.Sprintf("%s:%d", input, lineno)] = hexes
    		}
    
    		// Canonicalize spacing in printed form.
    		// First field is opcode, then tab, then arguments separated by spaces.
    		// Canonicalize spaces after commas first.
    		// Comma to separate argument gets a space; comma within does not.
    		var buf []byte
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         * `ID <= lastGoodStreamId` can only be replayed on a new connection if they are idempotent.
         *
         * @param lastGoodStreamId the last stream ID the peer processed before sending this message. If
         *     [lastGoodStreamId] is zero, the peer processed no frames.
         * @param errorCode reason for closing the connection.
         * @param debugData only valid for HTTP/2; opaque debug data to send.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. internal/etag/etag.go

    // by AWS S3.
    //
    // An AWS S3 ETag is 16 bytes long and, in case of a multipart
    // upload, has a `-N` suffix encoding the number of object parts.
    // An ETag is not AWS S3 compatible when encrypted. When sending
    // an ETag back to an S3 client it has to be formatted to be
    // AWS S3 compatible.
    //
    // Therefore, Format returns the last 16 bytes of an encrypted
    // ETag.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. internal/ioutil/ioutil.go

    			return written, nil
    		}
    	}
    }
    
    // SafeClose safely closes any channel of any type
    func SafeClose[T any](c chan<- T) {
    	if c != nil {
    		close(c)
    		return
    	}
    	// Print stack to check who is sending `c` as `nil`
    	// without crashing the server.
    	debug.PrintStack()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. internal/logger/logger.go

    	if len(systemTgts) == 0 {
    		return
    	}
    
    	// Iterate over all logger targets to send the log entry
    	for _, t := range systemTgts {
    		if err := t.Send(ctx, entry); err != nil {
    			if consoleTgt != nil { // Sending to the console never fails
    				consoleTgt.Send(ctx, errToEntry(ctx, "logging", fmt.Errorf("unable to send log event to Logger target (%s): %v", t.String(), err), entry.Level))
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. internal/s3select/message.go

    	// in Finish()
    
    	quitFlag := false
    	for !quitFlag {
    		select {
    		case data := <-writer.errCh:
    			quitFlag = true
    			// Flush collected records before sending error message
    			if !writer.flushRecords() {
    				break
    			}
    			writer.write(data)
    
    		case payload, ok := <-writer.payloadCh:
    			if !ok {
    				// payloadCh is closed by caller to
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

                return;
            }
            Smb2NegotiateRequest negoReq = new Smb2NegotiateRequest(sess.getConfig(), trans.getRequestSecurityMode(nego));
    
            log.debug("Sending VALIDATE_NEGOTIATE_INFO");
            Smb2IoctlRequest req = new Smb2IoctlRequest(sess.getConfig(), Smb2IoctlRequest.FSCTL_VALIDATE_NEGOTIATE_INFO);
            req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    public abstract class Transport implements Runnable, AutoCloseable {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.2.md

    you had a client that was sending an invalid Content-Type or Accept header to
    the API, in 1.2 you will either receive a 415 or 406 error.
    The only client
    this is known to affect is curl when you use -d with JSON but don't set a
    content type, helpfully sends "application/x-www-urlencoded", which is not
    correct.
    Other client authors should double check that you are sending proper
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
Back to top