Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 6,311 for modes (0.07 sec)

  1. src/internal/coverage/slicewriter/slicewriter.go

    			return 0, fmt.Errorf("invalid seek: new offset %d (out of range [0 %d]", newoff, len(sws.payload))
    		}
    		sws.off = newoff
    		return sws.off, nil
    	}
    	// other modes not supported
    	return 0, fmt.Errorf("unsupported seek mode %d", whence)
    }
    
    // BytesWritten returns the underlying byte slice for the WriteSeeker,
    // containing the data written to it via Write/Seek calls.
    func (sws *WriteSeeker) BytesWritten() []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 26 12:44:26 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/net/http/httptest/server_test.go

    	go func() {
    		defer wg.Done()
    		ts.Close()
    	}()
    	wg.Wait()
    }
    
    func TestTLSServerWithHTTP2(t *testing.T) {
    	modes := []struct {
    		name      string
    		wantProto string
    	}{
    		{"http1", "HTTP/1.1"},
    		{"http2", "HTTP/2.0"},
    	}
    
    	for _, tt := range modes {
    		t.Run(tt.name, func(t *testing.T) {
    			cst := NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. doc/asm.html

    <code>cmd/internal/obj/x86/a.out.go</code>.
    </p>
    
    <p>
    The architectures share syntax for common addressing modes such as
    <code>(R1)</code> (register indirect),
    <code>4(R1)</code> (register indirect with offset), and
    <code>$foo(SB)</code> (absolute address).
    The assembler also supports some (not necessarily all) addressing modes
    specific to each architecture.
    The sections below list these.
    </p>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  4. src/internal/coverage/slicereader/slicereader.go

    			return 0, fmt.Errorf("invalid seek: new offset %d (out of range [0 %d]", newoff, len(r.b))
    		}
    		r.off = newoff
    		return r.off, nil
    	}
    	// other modes are not supported
    	return 0, fmt.Errorf("unsupported seek mode %d", whence)
    }
    
    func (r *Reader) Offset() int64 {
    	return r.off
    }
    
    func (r *Reader) ReadUint8() uint8 {
    	rv := uint8(r.b[int(r.off)])
    	r.off += 1
    	return rv
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    }
    
    func main() {
    	log.SetPrefix("")
    	flag.Parse()
    
    	if flag.NArg() != 1 {
    		log.Print("missing mode argument")
    		flag.Usage()
    		os.Exit(1)
    	}
    	var err error
    	switch mode := flag.Arg(0); mode {
    	case "size":
    		err = printSizeStats(os.Stdin)
    	default:
    		log.Printf("unknown mode %q", mode)
    		flag.Usage()
    		os.Exit(1)
    	}
    	if err != nil {
    		log.Fatalf("error: %v", err)
    		os.Exit(1)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/crypto/cipher/cbc_aes_test.go

    // license that can be found in the LICENSE file.
    
    // CBC AES test vectors.
    
    // See U.S. National Institute of Standards and Technology (NIST)
    // Special Publication 800-38A, ``Recommendation for Block Cipher
    // Modes of Operation,'' 2001 Edition, pp. 24-29.
    
    package cipher_test
    
    import (
    	"bytes"
    	"crypto/aes"
    	"crypto/cipher"
    	"testing"
    )
    
    var cbcAESTests = []struct {
    	name string
    	key  []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.9K bytes
    - Viewed (0)
  7. SECURITY.md

    vulnerabilities.
    
    ## Security properties of execution modes
    
    TensorFlow has several execution modes, with Eager-mode being the default in v2.
    Eager mode lets users write imperative-style statements that can be easily
    inspected and debugged and it is intended to be used during the development
    phase.
    
    As part of the differences that make Eager mode easier to debug, the [shape
    inference
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 01 06:06:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  8. pkg/volume/local/local_test.go

    	defer os.RemoveAll(tmpDir)
    
    	modes := plug.GetAccessModes()
    	if !volumetest.ContainsAccessMode(modes, v1.ReadWriteOnce) {
    		t.Errorf("Expected AccessModeType %q", v1.ReadWriteOnce)
    	}
    
    	if volumetest.ContainsAccessMode(modes, v1.ReadWriteMany) {
    		t.Errorf("Found AccessModeType %q, expected not", v1.ReadWriteMany)
    	}
    	if volumetest.ContainsAccessMode(modes, v1.ReadOnlyMany) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  9. src/crypto/cipher/ctr_aes_test.go

    // license that can be found in the LICENSE file.
    
    // CTR AES test vectors.
    
    // See U.S. National Institute of Standards and Technology (NIST)
    // Special Publication 800-38A, ``Recommendation for Block Cipher
    // Modes of Operation,'' 2001 Edition, pp. 55-58.
    
    package cipher_test
    
    import (
    	"bytes"
    	"crypto/aes"
    	"crypto/cipher"
    	"testing"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 3K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/Actor.java

     * to perform any synchronisation.</p>
     *
     * <p>An actor uses one of two modes to deliver method calls to the target object:</p>
     *
     * <ul>
     * <li>Non-blocking, or asynchronous, so that method dispatch does not block waiting for the method call to be delivered or executed.
     * In this mode, the method return value or exception is not delivered back to the dispatcher.
     * </li>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top