Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for scaling (0.19 sec)

  1. src/cmd/asm/internal/asm/parse.go

    				p.errorf("unimplemented two-register form")
    			}
    			a.Index = r1
    			if scale != 0 && scale != 1 && (p.arch.Family == sys.ARM64 ||
    				p.arch.Family == sys.PPC64) {
    				// Support (R1)(R2) (no scaling) and (R1)(R2*1).
    				p.errorf("%s doesn't support scaled register format", p.arch.Name)
    			} else {
    				a.Scale = int16(scale)
    			}
    		}
    		p.get(')')
    	} else if scale != 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    	// Hackish but effective. Depends on Map scanning in order and calling
    	// the closure once per rune.
    	prev := ' '
    	return Map(
    		func(r rune) rune {
    			if isSeparator(prev) {
    				prev = r
    				return unicode.ToTitle(r)
    			}
    			prev = r
    			return r
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. src/builtin/builtin.go

    // that point, the program is terminated with a non-zero exit code. This
    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    // Starting in Go 1.21, calling panic with a nil interface value or an
    // untyped nil causes a run-time error (a different panic).
    // The GODEBUG setting panicnil=1 disables the run-time error.
    func panic(v any)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    }
    
    // Write writes to the current file in the tar archive.
    // Write returns the error [ErrWriteTooLong] if more than
    // Header.Size bytes are written after [Writer.WriteHeader].
    //
    // Calling Write on special types like [TypeLink], [TypeSymlink], [TypeChar],
    // [TypeBlock], [TypeDir], and [TypeFifo] returns (0, [ErrWriteTooLong]) regardless
    // of what the [Header.Size] claims.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. doc/go_spec.html

    or, for function parameters and results, the signature
    of a <a href="#Function_declarations">function declaration</a>
    or <a href="#Function_literals">function literal</a> reserves
    storage for a named variable.
    
    Calling the built-in function <a href="#Allocation"><code>new</code></a>
    or taking the address of a <a href="#Composite_literals">composite literal</a>
    allocates storage for a variable at run time.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    //
    // Scanning stops if the function returns an error, in which case some of
    // the input may be discarded. If that error is [ErrFinalToken], scanning
    // stops with no error. A non-nil token delivered with [ErrFinalToken]
    // will be the last token, and a nil token with [ErrFinalToken]
    // immediately stops the scanning.
    //
    // Otherwise, the [Scanner] advances the input. If the token is not nil,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/bufio/example_test.go

    	for scanner.Scan() {
    		fmt.Println(len(scanner.Bytes()) == 6)
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string")
    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue20910.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <assert.h>
    #include <stdlib.h>
    #include <string.h>
    #include "_cgo_export.h"
    
    /* Test calling a Go function with multiple return values.  */
    
    void
    callMulti(void)
    {
    	struct multi_return result = multi();
    	assert(strcmp(result.r0, "multi") == 0);
    	assert(result.r1 == 0);
    	free(result.r0);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 459 bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    type ReadCloser struct {
    	f *os.File
    	Reader
    }
    
    // A File is a single file in a ZIP archive.
    // The file information is in the embedded [FileHeader].
    // The file content can be accessed by calling [File.Open].
    type File struct {
    	FileHeader
    	zip          *Reader
    	zipr         io.ReaderAt
    	headerOffset int64 // includes overall ZIP archive baseOffset
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  10. doc/asm.html

    <p>
    The <code>PCALIGN</code> pseudo-instruction is used to indicate that the next instruction should be aligned
    to a specified boundary by padding with no-op instructions.
    </p>
    
    <p>
    It is currently supported on arm64, amd64, ppc64, loong64 and riscv64.
    
    For example, the start of the <code>MOVD</code> instruction below is aligned to 32 bytes:
    <pre>
    PCALIGN $32
    MOVD $2, R0
    </pre>
    </p>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top