Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 618 for Trune (0.12 sec)

  1. src/html/template/css.go

    }
    
    // hexDecode decodes a short hex digit sequence: "10" -> 16.
    func hexDecode(s []byte) rune {
    	n := '\x00'
    	for _, c := range s {
    		n <<= 4
    		switch {
    		case '0' <= c && c <= '9':
    			n |= rune(c - '0')
    		case 'a' <= c && c <= 'f':
    			n |= rune(c-'a') + 10
    		case 'A' <= c && c <= 'F':
    			n |= rune(c-'A') + 10
    		default:
    			panic(fmt.Sprintf("Bad hex digit in %q", s))
    		}
    	}
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. buildscripts/minio-upgrade.sh

    		-f "buildscripts/upgrade-tests/compose.yml" \
    		rm || true
    
    	for volume in $(docker volume ls -q | grep upgrade); do
    		docker volume rm ${volume} || true
    	done
    
    	docker volume prune -f
    	docker system prune -f || true
    	docker volume prune -f || true
    	docker volume rm $(docker volume ls -q -f dangling=true) || true
    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse_test.go

    		sep := ""
    		for i := 0; i < len(re.Rune); i += 2 {
    			b.WriteString(sep)
    			sep = " "
    			lo, hi := re.Rune[i], re.Rune[i+1]
    			if lo == hi {
    				fmt.Fprintf(b, "%#x", lo)
    			} else {
    				fmt.Fprintf(b, "%#x-%#x", lo, hi)
    			}
    		}
    	}
    	b.WriteByte('}')
    }
    
    func mkCharClass(f func(rune) bool) string {
    	re := &Regexp{Op: OpCharClass}
    	lo := rune(-1)
    	for i := rune(0); i <= unicode.MaxRune; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. src/unicode/letter_test.go

    var notletterTest = []rune{
    	0x20,
    	0x35,
    	0x375,
    	0x619,
    	0x700,
    	0x1885,
    	0xfffe,
    	0x1ffff,
    	0x10ffff,
    }
    
    // Contains all the special cased Latin-1 chars.
    var spaceTest = []rune{
    	0x09,
    	0x0a,
    	0x0b,
    	0x0c,
    	0x0d,
    	0x20,
    	0x85,
    	0xA0,
    	0x2000,
    	0x3000,
    }
    
    type caseT struct {
    	cas     int
    	in, out rune
    }
    
    var caseTest = []caseT{
    	// errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  5. src/regexp/syntax/prog_test.go

    package syntax
    
    import "testing"
    
    var compileTests = []struct {
    	Regexp string
    	Prog   string
    }{
    	{"a", `  0	fail
      1*	rune1 "a" -> 2
      2	match
    `},
    	{"[A-M][n-z]", `  0	fail
      1*	rune "AM" -> 2
      2	rune "nz" -> 3
      3	match
    `},
    	{"", `  0	fail
      1*	nop -> 2
      2	match
    `},
    	{"a?", `  0	fail
      1	rune1 "a" -> 3
      2*	alt -> 1, 3
      3	match
    `},
    	{"a??", `  0	fail
      1	rune1 "a" -> 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 04:39:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                builder.packaging(POM_PACKAGING);
                builder.profiles(prune(model.getProfiles()));
    
                model = builder.build();
                String modelVersion = new MavenModelVersion().getModelVersion(model);
                model = model.withModelVersion(modelVersion);
            } else {
                Model.Builder builder = prune(
                        Model.newBuilder(model, true)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/go/scanner/scanner.go

    }
    
    func digitVal(ch rune) int {
    	switch {
    	case '0' <= ch && ch <= '9':
    		return int(ch - '0')
    	case 'a' <= lower(ch) && lower(ch) <= 'f':
    		return int(lower(ch) - 'a' + 10)
    	}
    	return 16 // larger than any legal digit val
    }
    
    func lower(ch rune) rune     { return ('a' - 'A') | ch } // returns lower-case ch iff ch is ASCII letter
    func isDecimal(ch rune) bool { return '0' <= ch && ch <= '9' }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  8. src/unicode/digit_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unicode_test
    
    import (
    	"testing"
    	. "unicode"
    )
    
    var testDigit = []rune{
    	0x0030,
    	0x0039,
    	0x0661,
    	0x06F1,
    	0x07C9,
    	0x0966,
    	0x09EF,
    	0x0A66,
    	0x0AEF,
    	0x0B66,
    	0x0B6F,
    	0x0BE6,
    	0x0BEF,
    	0x0C66,
    	0x0CEF,
    	0x0D66,
    	0x0D6F,
    	0x0E50,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/scanner.go

    			panic("imperfect hash")
    		}
    		keywordMap[h] = tok
    	}
    }
    
    func lower(ch rune) rune     { return ('a' - 'A') | ch } // returns lower-case ch iff ch is ASCII letter
    func isLetter(ch rune) bool  { return 'a' <= lower(ch) && lower(ch) <= 'z' || ch == '_' }
    func isDecimal(ch rune) bool { return '0' <= ch && ch <= '9' }
    func isHex(ch rune) bool     { return '0' <= ch && ch <= '9' || 'a' <= lower(ch) && lower(ch) <= 'f' }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  10. test/initialize.go

    func f12(b []byte) [2][]byte { return [2][]byte{b, b} }
    
    var a12 = f12([]byte("hello"))
    var a13 = f12([]byte{1, 2, 3})
    var a14 = f12(make([]byte, 1))
    
    func f15(b []rune) [2][]rune { return [2][]rune{b, b} }
    
    var a15 = f15([]rune("hello"))
    var a16 = f15([]rune{1, 2, 3})
    
    type Same struct {
    	a, b interface{}
    }
    
    var same = []Same{
    	{a1, b1},
    	{a2, b2},
    	{a3, b3},
    	{a4, b4},
    	{a5, b5},
    	{a6, b6},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 04:04:52 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top