Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for prepwrite (0.12 sec)

  1. refactorings/CharMatcherRewrite.java

     */
    
    import com.google.common.base.CharMatcher;
    import com.google.errorprone.refaster.annotation.AfterTemplate;
    import com.google.errorprone.refaster.annotation.BeforeTemplate;
    
    /**
     * Refaster refactorings to rewrite uses of CharMatcher static constants to the static factory
     * methods.
     */
    public class CharMatcherRewrite {
      class Whitespace {
        @BeforeTemplate
        CharMatcher before() {
          return CharMatcher.WHITESPACE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 28 19:03:28 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_internal.h

          TFE_DEVICE_PLACEMENT_SILENT};
      // If true, use TFRT backend
      bool use_tfrt = false;
      // Whether to run elementary eager ops wrapped in a call op.
      bool run_eager_op_as_function = false;
      // Whether to rewrite jit_compile functions.
      bool jit_compile_rewrite = false;
    };
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jan 18 19:26:34 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

    Interceptors
    ============
    
    Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here's a simple interceptor that logs the outgoing request and the incoming response.
    
    ```java
    class LoggingInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. doc/go_mem.html

    For example, a compiler must not invert the conditional in this program:
    </p>
    
    <pre>
    *p = 1
    if cond {
    	*p = 2
    }
    </pre>
    
    <p>
    That is, the compiler must not rewrite the program into this one:
    </p>
    
    <pre>
    *p = 2
    if !cond {
    	*p = 1
    }
    </pre>
    
    <p>
    If <code>cond</code> is false and another goroutine is reading <code>*p</code>,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. misc/cgo/gmp/gmp.go

    introduce a Go variable that points at the C variable (the linker can
    be told to initialize this pointer).  For example, if the gmp library
    provided
    
    	mpz_t zero;
    
    then cgo would rewrite a reference to C.zero by introducing
    
    	var _C_zero *C.mpz_t
    
    and then replacing all instances of C.zero with (*_C_zero).
    
    Cgo's most interesting translation is for functions.  If xxx is a C
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    }
    
    // RenameDataResp - RenameData()'s response.
    // Provides information about the final state of Rename()
    //   - on xl.meta (array of versions) on disk to check for version disparity
    //   - on rewrite dataDir on disk that must be additionally purged
    //     only after as a 2-phase call, allowing the older dataDir to
    //     hang-around in-case we need some form of recovery.
    type RenameDataResp struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        `requestBodyEnd()`, both on the same call. Such events may be triggered by different threads
        even for a single call.
    
        Interceptors that rewrite or replace the request body may now inadvertently interfere with
        duplex request bodies. Such interceptors should check `RequestBody.isDuplex()` and avoid
        accessing the request body when it is.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    	for i, param := range params {
    		if p.needsPointerCheck(f, param.Go, args[i]) {
    			any = true
    			break
    		}
    	}
    	if !any {
    		return "", false
    	}
    
    	// We need to rewrite this call.
    	//
    	// Rewrite C.f(p) to
    	//    func() {
    	//            _cgo0 := p
    	//            _cgoCheckPointer(_cgo0, nil)
    	//            C.f(_cgo0)
    	//    }()
    	// Using a function literal like this lets us evaluate the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4.go

    		if cr.debug {
    			fmt.Printf("prefix, want prefix %q, got %q", "x-amz-trailer-signature:", string(sig))
    		}
    		return errMalformedEncoding
    	}
    
    	// TODO: It seems like we may have to be prepared to rewrite and sort trailing headers:
    	// https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html
    
    	// Any value must end with a newline.
    	// Not all clients send that.
    	trailerRaw := valueBuffer.Bytes()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

        running SSLv3, you must manually configure your own `ConnectionSpec`.
    
     *  **OkHttp now offers interceptors.** Interceptors are a powerful mechanism
        that can monitor, rewrite, and retry calls. The [interceptors doc][interceptors] is a full
        introduction to this new API.
    
     *  New: APIs to iterate and selectively clear the response cache.
     *  New: Support for SOCKS proxies.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top