Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for computed (0.41 sec)

  1. doc/go1.17_spec.html

    An expression or type is compared to the "cases"
    inside the "switch" to determine which branch
    to execute.
    </p>
    
    <pre class="ebnf">
    SwitchStmt = ExprSwitchStmt | TypeSwitchStmt .
    </pre>
    
    <p>
    There are two forms: expression switches and type switches.
    In an expression switch, the cases contain expressions that are compared
    against the value of the switch expression.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    them as part of the Go package. Any .c, .s, .S or .sx files will be
    compiled with the C compiler. Any .cc, .cpp, or .cxx files will be
    compiled with the C++ compiler. Any .f, .F, .for or .f90 files will be
    compiled with the fortran compiler. Any .h, .hh, .hpp, or .hxx files will
    not be compiled separately, but, if these header files are changed,
    the package (including its non-Go source files) will be recompiled.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/bootstrap.bash

    gohostos="$(../bin/go env GOHOSTOS)"
    gohostarch="$(../bin/go env GOHOSTARCH)"
    goos="$(../bin/go env GOOS)"
    goarch="$(../bin/go env GOARCH)"
    
    # NOTE: Cannot invoke go command after this point.
    # We're about to delete all but the cross-compiled binaries.
    cd ..
    if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then
    	# cross-compile for local system. nothing to copy.
    	# useful if you've bootstrapped yourself but want to
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. doc/go_spec.html

    	The fields are compared in source order, and comparison stops as
    	soon as two field values differ (or all fields have been compared).
    	</li>
    
    	<li>
    	Array types are comparable if their array element types are comparable.
    	Two array values are equal if their corresponding element values are equal.
    	The elements are compared in ascending index order, and comparison stops
    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)
  5. src/cmd/cgo/gcc.go

    			}
    			continue
    		}
    
    		switch filename {
    		case "completed":
    			// Strictly speaking, there is no guarantee that seeing the error at completed:1
    			// (at the end of the file) means we've seen all the errors from earlier in the file,
    			// but usually it does. Certainly if we don't see the completed:1 error, we did
    			// not get all the errors we expected.
    			completed = true
    
    		case "not-declared":
    			sniff[i] |= notDeclared
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. lib/time/README

    The zoneinfo.zip archive contains time zone files compiled using
    the code and data maintained as part of the IANA Time Zone Database.
    The IANA asserts that the database is in the public domain.
    
    For more information, see
    https://www.iana.org/time-zones
    ftp://ftp.iana.org/tz/code/tz-link.html
    https://datatracker.ietf.org/doc/html/rfc6557
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Aug 15 02:18:46 GMT 2021
    - 390 bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    // for a k-rune slice.
    // If n < 0, there is no limit on the number of replacements.
    func Replace(s, old, new []byte, n int) []byte {
    	m := 0
    	if n != 0 {
    		// Compute number of replacements.
    		m = Count(s, old)
    	}
    	if m == 0 {
    		// Just return a copy.
    		return append([]byte(nil), s...)
    	}
    	if n < 0 || m < n {
    		n = m
    	}
    
    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)
  8. src/archive/zip/zip_test.go

    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    			Method: Store, // Deflate is too slow when it is compiled with -race flag
    		})
    		if err != nil {
    			t.Fatalf("creating file %d: %v", i, err)
    		}
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("Writer.Close: %v", err)
    	}
    	s := buf.String()
    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)
  9. src/cmd/asm/internal/asm/parse.go

    		p.errorf("expected g or R0 through R15; found %s", name)
    		return 0
    	}
    	return uint16(reg)
    }
    
    // Note: There are two changes in the expression handling here
    // compared to the old yacc/C implementations. Neither has
    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    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)
  10. src/archive/tar/format.go

    	f.formatOctal(field[:7], chksum) // Never fails since 128776 < 262143
    	field[7] = ' '
    }
    
    // computeChecksum computes the checksum for the header block.
    // POSIX specifies a sum of the unsigned byte values, but the Sun tar used
    // signed byte values.
    // We compute and return both.
    func (b *block) computeChecksum() (unsigned, signed int64) {
    	for i, c := range b {
    		if 148 <= i && i < 156 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top