Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,734 for run1 (0.5 sec)

  1. src/runtime/string.go

    	}
    	copy(b, s)
    	return b
    }
    
    func stringtoslicerune(buf *[tmpStringBufSize]rune, s string) []rune {
    	// two passes.
    	// unlike slicerunetostring, no race because strings are immutable.
    	n := 0
    	for range s {
    		n++
    	}
    
    	var a []rune
    	if buf != nil && n <= len(buf) {
    		*buf = [tmpStringBufSize]rune{}
    		a = buf[:n]
    	} else {
    		a = rawruneslice(n)
    	}
    
    	n = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	}
    
    	// 5. Drop
    	dropNotLatin := func(r rune) rune {
    		if unicode.Is(unicode.Latin, r) {
    			return r
    		}
    		return -1
    	}
    	m = Map(dropNotLatin, []byte("Hello, 세계"))
    	expect = "Hello"
    	if string(m) != expect {
    		t.Errorf("drop: expected %q got %q", expect, m)
    	}
    
    	// 6. Invalid rune
    	invalidRune := func(r rune) rune {
    		return utf8.MaxRune + 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/lockosthread.go

    	"time"
    )
    
    var mainTID int
    
    func init() {
    	registerInit("LockOSThreadMain", func() {
    		// init is guaranteed to run on the main thread.
    		mainTID = gettid()
    	})
    	register("LockOSThreadMain", LockOSThreadMain)
    
    	registerInit("LockOSThreadAlt", func() {
    		// Lock the OS thread now so main runs on the main thread.
    		runtime.LockOSThread()
    	})
    	register("LockOSThreadAlt", LockOSThreadAlt)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. docs/site-replication/run-ssec-object-replication.sh

    Poorna <******@****.***> 1716056341 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/unicode/utf8/utf8_test.go

    				testSequence(t, s)
    			}
    		}
    	}
    }
    
    func runtimeRuneCount(s string) int {
    	return len([]rune(s)) // Replaced by gc with call to runtime.countrunes(s).
    }
    
    // Check that a range loop, len([]rune(string)) optimization and
    // []rune conversions visit the same runes.
    // Not really a test of this package, but the assumption is used here and
    // it's good to verify.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/builder/testdata/http/extended-dry-run-allow-out.yaml

    Kuat <******@****.***> 1711363165 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 507 bytes
    - Viewed (0)
  7. src/regexp/syntax/perl_groups.go

    	0x30, 0x39,
    }
    
    var code10 = []rune{ /* [:graph:] */
    	0x21, 0x7e,
    }
    
    var code11 = []rune{ /* [:lower:] */
    	0x61, 0x7a,
    }
    
    var code12 = []rune{ /* [:print:] */
    	0x20, 0x7e,
    }
    
    var code13 = []rune{ /* [:punct:] */
    	0x21, 0x2f,
    	0x3a, 0x40,
    	0x5b, 0x60,
    	0x7b, 0x7e,
    }
    
    var code14 = []rune{ /* [:space:] */
    	0x9, 0xd,
    	0x20, 0x20,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tools/docker-builder/main.go

    		env = append(env, "BUILD_ALL=false")
    	}
    
    	env = append(env,
    		// Build should already run in container, having multiple layers of docker causes issues
    		"BUILD_WITH_CONTAINER=0",
    	)
    	return env
    }
    
    var SkipMake = os.Getenv("SKIP_MAKE")
    
    // RunMake runs a make command for the repo, with standard environment variables set
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  9. src/html/template/js.go

    	// Make sure that json.Marshal escapes codepoints U+2028 & U+2029
    	// so it falls within the subset of JSON which is valid JS.
    	for i := 0; i < len(b); {
    		rune, n := utf8.DecodeRune(b[i:])
    		repl := ""
    		if rune == 0x2028 {
    			repl = `\u2028`
    		} else if rune == 0x2029 {
    			repl = `\u2029`
    		}
    		if repl != "" {
    			buf.Write(b[written:i])
    			buf.WriteString(repl)
    			written = i + n
    		}
    		i += n
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/unicode/graphic.go

    	}
    	return isExcludingLatin(Letter, r)
    }
    
    // IsMark reports whether the rune is a mark character (category [M]).
    func IsMark(r rune) bool {
    	// There are no mark characters in Latin-1.
    	return isExcludingLatin(Mark, r)
    }
    
    // IsNumber reports whether the rune is a number (category [N]).
    func IsNumber(r rune) bool {
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&pN != 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top