Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Show (0.21 sec)

  1. src/bytes/example_test.go

    	// Output:
    	// 3
    	// 5
    }
    
    func ExampleCut() {
    	show := func(s, sep string) {
    		before, after, found := bytes.Cut([]byte(s), []byte(sep))
    		fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "ph")
    	show("Gopher", "er")
    	show("Gopher", "Badger")
    	// Output:
    	// Cut("Gopher", "Go") = "", "pher", true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. doc/go_spec.html

    </p>
    
    <p>
    For instance, some architectures provide a "fused multiply and add" (FMA) instruction
    that computes <code>x*y + z</code> without rounding the intermediate result <code>x*y</code>.
    These examples show when a Go implementation can use that instruction:
    </p>
    
    <pre>
    // FMA allowed for computing r, because x*y is not explicitly rounded:
    r  = x*y + z
    r  = z;   r += x*y
    t  = x*y; r = t + z
    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)
  3. src/archive/tar/writer.go

    	if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil {
    		return tw.err
    	}
    	tw.pad = 0
    	return nil
    }
    
    // WriteHeader writes hdr and prepares to accept the file's contents.
    // The Header.Size determines how many bytes can be written for the next file.
    // If the current file is not fully written, then this returns an error.
    // This implicitly flushes any padding necessary before writing the header.
    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)
  4. src/archive/zip/zip_test.go

    		Method: Deflate,
    		Extra: []byte{
    			85, 84, 5, 0, 3, 154, 144, 195, 77, // tag 21589 size 5
    			85, 120, 0, 0, // tag 30805 size 0
    		},
    	}
    	testValidHeader(&h, t)
    }
    
    // Just benchmarking how fast the Zip64 test above is. Not related to
    // our zip performance, since the test above disabled CRC32 and flate.
    func BenchmarkZip64Test(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		testZip64(b, 1<<26)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    	// ARM only.
    	if !p.arch.InFamily(sys.ARM, sys.ARM64) {
    		return false
    	}
    	// R1<<...
    	if lex.IsRegisterShift(p.peek()) {
    		return true
    	}
    	// R(1)<<...   Ugly check. TODO: Rethink how we handle ARM register shifts to be
    	// less special.
    	if p.peek() != '(' || len(p.input)-p.inputPos < 4 {
    		return false
    	}
    	return p.at('(', scanner.Int, ')') && lex.IsRegisterShift(p.input[p.inputPos+3].ScanToken)
    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)
  6. api/go1.1.txt

    pkg syscall (windows-386), const SW_MINIMIZE = 6
    pkg syscall (windows-386), const SW_NORMAL = 1
    pkg syscall (windows-386), const SW_RESTORE = 9
    pkg syscall (windows-386), const SW_SHOW = 5
    pkg syscall (windows-386), const SW_SHOWDEFAULT = 10
    pkg syscall (windows-386), const SW_SHOWMAXIMIZED = 3
    pkg syscall (windows-386), const SW_SHOWMINIMIZED = 2
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/11-language-change.yml

          description: If so, how does this differ from previous error handling proposals?
          placeholder: |
           Yes or No
    
           If yes, 
            1.how does this differ from previous error handling proposals?
    
        validations:
          required: true
    
      - type: textarea
        id: generics-proposal
        attributes:
          label: Is this about generics?
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. doc/asm.html

    plain period and slash.
    Within an assembler source file, the symbols above are written as
    <code>fmt·Printf</code> and <code>math∕rand·Int</code>.
    The assembly listings generated by the compilers when using the <code>-S</code> flag
    show the period and slash directly instead of the Unicode replacements
    required by the assemblers.
    </p>
    
    <p>
    Most hand-written assembly files do not include the full package path
    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)
  9. misc/ios/clangwrap.sh

    if [ "$GOARCH" == "arm64" ]; then
    	SDK=iphoneos
    	PLATFORM=ios
    	CLANGARCH="arm64"
    else
    	SDK=iphonesimulator
    	PLATFORM=ios-simulator
    	CLANGARCH="x86_64"
    fi
    
    SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
    export IPHONEOS_DEPLOYMENT_TARGET=5.1
    # cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
    CLANG=`xcrun --sdk $SDK --find clang`
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 02 16:48:07 GMT 2021
    - 626 bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/12-telemetry.yml

          For example, what new insights will it provide, and how will that information be used?
          If this is about updating existing counters, why is the change necessary?
      validations:
        required: true
    - type: textarea
      attributes:
        label: Do the counters carry sensitive user information?
      validations:
        required: true
    - type: textarea
      attributes:
        label: How?
        description: |
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 27 17:23:51 GMT 2023
    - 2.4K bytes
    - Viewed (0)
Back to top