Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for spre (0.15 sec)

  1. src/bytes/bytes_test.go

    func BenchmarkIndexHard2(b *testing.B) { benchmarkIndexHard(b, []byte("</pre>")) }
    func BenchmarkIndexHard3(b *testing.B) { benchmarkIndexHard(b, []byte("<b>hello world</b>")) }
    func BenchmarkIndexHard4(b *testing.B) {
    	benchmarkIndexHard(b, []byte("<pre><b>hello</b><strong>world</strong></pre>"))
    }
    
    func BenchmarkLastIndexHard1(b *testing.B) { benchmarkLastIndexHard(b, []byte("<>")) }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue26430.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 26430: incomplete typedef 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
    - 359 bytes
    - Viewed (1)
  3. src/cmd/asm/internal/arch/arch.go

    	// Map of instruction names to enumeration.
    	Instructions map[string]obj.As
    	// Map of register names to enumeration.
    	Register map[string]int16
    	// Table of register prefix names. These are things like R for R(0) and SPR for SPR(268).
    	RegisterPrefix map[string]bool
    	// RegisterNumber converts R(10) into arm.REG_R10.
    	RegisterNumber func(string, int16) (int16, bool)
    	// Instruction is a jump.
    	IsJump func(word string) bool
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    			newBuf := make([]byte, newSize)
    			copy(newBuf, s.buf[s.start:s.end])
    			s.buf = newBuf
    			s.end -= s.start
    			s.start = 0
    		}
    		// Finally we can read some input. Make sure we don't get stuck with
    		// a misbehaving Reader. Officially we don't need to do this, but let's
    		// be extra careful: Scanner is for safe, simple jobs.
    		for loop := 0; ; {
    			n, err := s.r.Read(s.buf[s.end:len(s.buf)])
    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)
  5. src/archive/zip/reader.go

    	if d.directorySize > maxInt64 || d.directoryOffset > maxInt64 {
    		return nil, 0, ErrFormat
    	}
    
    	baseOffset = directoryEndOffset - int64(d.directorySize) - int64(d.directoryOffset)
    
    	// Make sure directoryOffset points to somewhere in our file.
    	if o := baseOffset + int64(d.directoryOffset); o < 0 || o >= size {
    		return nil, 0, ErrFormat
    	}
    
    	// If the directory end data tells us to use a non-zero 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)
  6. src/cmd/cgo/internal/test/issue29563.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo && !windows
    
    // Issue 29563: internal linker fails on duplicate weak symbols.
    // 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
    - 363 bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    	// ARM64 only.
    	if p.arch.Family != sys.ARM64 {
    		return false
    	}
    	// R1.xxx
    	return p.peek() == '.'
    }
    
    // registerReference parses a register given either the name, R10, or a parenthesized form, SPR(10).
    func (p *Parser) registerReference(name string) (int16, bool) {
    	r, present := p.arch.Register[name]
    	if present {
    		return r, true
    	}
    	if !p.arch.RegisterPrefix[name] {
    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)
  8. src/cmd/asm/internal/arch/ppc64.go

    		}
    	case "F":
    		if 0 <= n && n <= 31 {
    			return ppc64.REG_F0 + n, true
    		}
    	case "R":
    		if 0 <= n && n <= 31 {
    			return ppc64.REG_R0 + n, true
    		}
    	case "SPR":
    		if 0 <= n && n <= 1024 {
    			return ppc64.REG_SPR0 + n, true
    		}
    	}
    	return 0, false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Sep 07 20:53:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue26743.go

    // 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)
  10. src/cmd/cgo/internal/test/issue26213/test26213.go

    package issue26213
    
    /*
    #include "jni.h"
    */
    import "C"
    import (
    	"testing"
    )
    
    func Test26213(t *testing.T) {
    	var x1 C.jobject = 0 // Note: 0, not nil. That makes sure we use uintptr for these types.
    	_ = x1
    	var x2 C.jclass = 0
    	_ = x2
    	var x3 C.jthrowable = 0
    	_ = x3
    	var x4 C.jstring = 0
    	_ = x4
    	var x5 C.jarray = 0
    	_ = x5
    	var x6 C.jbooleanArray = 0
    	_ = x6
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 835 bytes
    - Viewed (0)
Back to top