Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Difference (0.24 sec)

  1. src/bytes/boundary_test.go

    	}
    	for j := 1; j < len(q); j++ {
    		q[j-1] = 1 // difference is only found on the last byte
    		for i := range b {
    			idx := Index(b[i:], q[:j])
    			if idx != -1 {
    				t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx)
    			}
    		}
    		q[j-1] = 0
    	}
    
    	// Test differing alignments and sizes of q which always end on a page boundary.
    	q[len(q)-1] = 1 // difference is only found on the last byte
    	for j := 0; j < len(q); j++ {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm.go

    func IsARMFloatCmp(op obj.As) bool {
    	switch op {
    	case arm.ACMPF, arm.ACMPD:
    		return true
    	}
    	return false
    }
    
    // ARMMRCOffset implements the peculiar encoding of the MRC and MCR instructions.
    // The difference between MRC and MCR is represented by a bit high in the word, not
    // in the usual way by the opcode itself. Asm must use AMRC for both instructions, so
    // we return the opcode for MRC so that asm doesn't need to import obj/arm.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    The bitwise logical and shift operators apply to integers only.
    </p>
    
    <pre class="grammar">
    +    sum                    integers, floats, complex values, strings
    -    difference             integers, floats, complex values
    *    product                integers, floats, complex values
    /    quotient               integers, floats, complex values
    %    remainder              integers
    
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    	// for each entry in names and then dereference the type we
    	// learn for __cgo__i.
    	var b bytes.Buffer
    	b.WriteString(builtinProlog)
    	b.WriteString(f.Preamble)
    	b.WriteString("#line 1 \"cgo-dwarf-inference\"\n")
    	for i, n := range names {
    		fmt.Fprintf(&b, "__typeof__(%s) *__cgo__%d;\n", n.C, i)
    		if n.Kind == "iconst" {
    			fmt.Fprintf(&b, "enum { __cgo_enum__%d = %s };\n", i, n.C)
    		}
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. doc/go_spec.html

    </p>
    
    <h3 id="Type_inference">Type inference</h3>
    
    <p>
    A use of a generic function may omit some or all type arguments if they can be
    <i>inferred</i> from the context within which the function is used, including
    the constraints of the function's type parameters.
    Type inference succeeds if it can infer the missing type arguments
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/slice.go

    	// position to discover whether there is a blank before the parenthesis.
    	// We only get here if defining a macro inside a macro.
    	// This imperfect implementation means we cannot tell the difference between
    	//	#define A #define B(x) x
    	// and
    	//	#define A #define B (x) x
    	// The first definition of B has an argument, the second doesn't. Because we let
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/bytes/compare_test.go

    			}
    			b[k] = a[k]
    		}
    	}
    }
    
    func TestEndianBaseCompare(t *testing.T) {
    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  8. doc/godebug.md

    The defaults that will be compiled into a main package
    are reported by the command:
    
    {{raw `
    	go list -f '{{.DefaultGODEBUG}}' my/main/package
    `}}
    
    Only differences from the base Go toolchain defaults are reported.
    
    When testing a package, `//go:debug` lines in the `*_test.go`
    files are treated as directives for the test's main package.
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. doc/asm.html

    <a href="https://9p.io/sys/doc/asm.html">elsewhere</a>.
    If you plan to write assembly language, you should read that document although much of it is Plan 9-specific.
    The current document provides a summary of the syntax and the differences with
    what is explained in that document, and
    describes the peculiarities that apply when writing assembly code to interact with Go.
    </p>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    	if exitCode == 1 {
    		t.Errorf("API database problems found")
    	}
    	if !compareAPI(bw, features, required, exception) {
    		t.Errorf("API differences found")
    	}
    }
    
    // export emits the exported package features.
    func (w *Walker) export(pkg *apiPackage) {
    	if verbose {
    		log.Println(pkg)
    	}
    	pop := w.pushScope("pkg " + pkg.Path())
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top