Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for consistent (0.22 sec)

  1. src/cmd/cgo/internal/test/issue26743.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 26743: typedef of uint leads to inconsistent typedefs error.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 356 bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    		}
    		t.FailNow()
    	}
    	info, err := dirEntries[0].Info()
    	if err != nil {
    		t.Fatalf("Error reading info entry: %v", err)
    	}
    	if name := info.Name(); name != "test.txt" {
    		t.Errorf("Inconsistent name in info entry: %v", name)
    	}
    }
    
    func TestUnderSize(t *testing.T) {
    	z, err := OpenReader("testdata/readme.zip")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer z.Close()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </p>
    
    <pre class="ebnf">
    imaginary_lit = (decimal_digits | int_lit | float_lit) "i" .
    </pre>
    
    <p>
    For backward compatibility, an imaginary literal's integer part consisting
    entirely of decimal digits (and possibly underscores) is considered a decimal
    integer, even if it starts with a leading <code>0</code>.
    </p>
    
    <pre>
    0i
    0123i         // == 123i for backward-compatibility
    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)
  4. src/cmd/asm/internal/asm/parse.go

    		if name != "PC" && a.Name == obj.NAME_NONE {
    			p.errorf("cannot reference %s without a symbol", name)
    		}
    		p.setPseudoRegister(a, name, false, prefix)
    		return
    	}
    	a.Reg = r1
    	if r2 != 0 {
    		// TODO: Consistency in the encoding would be nice here.
    		if p.arch.InFamily(sys.ARM, sys.ARM64) {
    			// Special form
    			// ARM: destination register pair (R1, R2).
    			// ARM64: register pair (R1, R2) for LDP/STP.
    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)
  5. src/bytes/bytes.go

    			r, wid = utf8.DecodeRune(s[i:])
    		}
    		r = mapping(r)
    		if r >= 0 {
    			b = utf8.AppendRune(b, r)
    		}
    		i += wid
    	}
    	return b
    }
    
    // Repeat returns a new byte slice consisting of count copies of b.
    //
    // It panics if count is negative or if the result of (len(b) * count)
    // overflows.
    func Repeat(b []byte, count int) []byte {
    	if count == 0 {
    		return []byte{}
    	}
    
    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)
  6. doc/go_spec.html

    [<a href="#Go_1.13">Go 1.13</a>]
    </p>
    
    <pre class="ebnf">
    imaginary_lit = (decimal_digits | int_lit | float_lit) "i" .
    </pre>
    
    <p>
    For backward compatibility, an imaginary literal's integer part consisting
    entirely of decimal digits (and possibly underscores) is considered a decimal
    integer, even if it starts with a leading <code>0</code>.
    </p>
    
    <pre>
    0i
    0123i         // == 123i for backward-compatibility
    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)
  7. src/cmd/asm/internal/asm/testdata/arm64enc.s

    // license that can be found in the LICENSE file.
    
    // The cases are auto-generated by disassembler.
    // The uncommented cases means they can be handled by assembler
    // and they are consistent with disassembler decoding.
    // TODO means they cannot be handled by current assembler.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$-8
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  8. doc/go_mem.html

    then <i>A</i> is synchronized before <i>B</i>.
    All the atomic operations executed in a program behave as though executed
    in some sequentially consistent order.
    </p>
    
    <p>
    The preceding definition has the same semantics as C++’s sequentially consistent atomics
    and Java’s <code>volatile</code> variables.
    </p>
    
    <h3 id="finalizer">Finalizers</h3>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue27340/a.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    // that may contain a pointer. This is used for cgo pointer checking.
    var unionWithPointer = make(map[ast.Expr]bool)
    
    // anonymousStructTag provides a consistent tag for an anonymous struct.
    // The same dwarf.StructType pointer will always get the same tag.
    var anonymousStructTag = make(map[*dwarf.StructType]string)
    
    func (c *typeConv) Init(ptrSize, intSize int64) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top