Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for FoldCase (0.26 sec)

  1. src/cmd/compile/internal/types2/typeset.go

    // LookupMethod returns the index of and method with matching package and name, or (-1, nil).
    func (s *_TypeSet) LookupMethod(pkg *Package, name string, foldCase bool) (int, *Func) {
    	return methodIndex(s.methods, pkg, name, foldCase)
    }
    
    func (s *_TypeSet) String() string {
    	switch {
    	case s.IsEmpty():
    		return "∅"
    	case s.IsAll():
    		return "𝓤"
    	}
    
    	hasMethods := len(s.methods) > 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/go/types/typeset.go

    // LookupMethod returns the index of and method with matching package and name, or (-1, nil).
    func (s *_TypeSet) LookupMethod(pkg *Package, name string, foldCase bool) (int, *Func) {
    	return methodIndex(s.methods, pkg, name, foldCase)
    }
    
    func (s *_TypeSet) String() string {
    	switch {
    	case s.IsEmpty():
    		return "∅"
    	case s.IsAll():
    		return "𝓤"
    	}
    
    	hasMethods := len(s.methods) > 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse_test.go

    	{`[[:upper:]]`, `cc{0x41-0x5a 0x61-0x7a 0x17f 0x212a}`},
    	{`[[:lower:]]`, `cc{0x41-0x5a 0x61-0x7a 0x17f 0x212a}`},
    }
    
    func TestParseFoldCase(t *testing.T) {
    	testParseDump(t, foldcaseTests, FoldCase)
    }
    
    var literalTests = []parseTest{
    	{"(|)^$.[*+?]{5,10},\\", "str{(|)^$.[*+?]{5,10},\\}"},
    }
    
    func TestParseLiteral(t *testing.T) {
    	testParseDump(t, literalTests, Literal)
    }
    
    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/regexp/syntax/regexp.go

    		// according to whether (?i) is active.
    		// If literal is not fold-sensitive, return 0, 0.
    		for _, r := range re.Rune {
    			if minFold <= r && r <= maxFold && unicode.SimpleFold(r) != r {
    				if re.Flags&FoldCase != 0 {
    					return flagI, 0
    				} else {
    					return 0, flagI
    				}
    			}
    		}
    		return 0, 0
    
    	case OpCharClass:
    		// If literal is fold-sensitive, return 0, flagI - (?i) has been compiled out.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/regexp/exec_test.go

    				// extended regexp (what we support)
    			case 'L':
    				// literal
    				pattern = QuoteMeta(pattern)
    			}
    
    			for _, c := range flag {
    				switch c {
    				case 'i':
    					syn |= syntax.FoldCase
    				}
    			}
    
    			re, err := compile(pattern, syn, true)
    			if err != nil {
    				if shouldCompile {
    					t.Errorf("%s:%d: %#q did not compile", file, lineno, pattern)
    				}
    				continue Testing
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      "tf._SomeOp"(%0#2, %0#0) : (tensor<!tf_type.resource>, tensor<f32>) -> ()
      // CHECK: return %[[CASE_OUTPUT]] : tensor<f32>
      func.return %0#1 : tensor<f32>
    }
    
    
    // CHECK-LABEL: foldCase
    func.func @foldCase(%arg0: tensor<f32>, %arg1: tensor<f32>) -> (tensor<f32>) {
      %2 = arith.constant dense<1> : tensor<i32>
      %3 = arith.constant dense<0> : tensor<i32>
    
      // CHECK: PartitionedCall
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

                classes[it.simpleName] = c
            }
            [OldBase, OldSub, NewBase, NewSub].each {
                classes[it.simpleName] = instanceScopedPool.get(it.name)
            }
    
            classes['OldBase'].superclass = classes['OldSuperInternal']
            classes['NewBase'].superclass = classes['NewSuperInternal']
            classes['OldSub'].superclass = classes['OldBase']
            classes['NewSub'].superclass = classes['NewBase']
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        static class OldSuper {}
    
        static class OldBase extends OldSuper {}
    
        static class NewSuper {}
    
        static class NewBase extends NewSuper {}
    
        @Incubating
        static class NewIncubatingBase extends NewSuper {}
    
        @Incubating
        interface IncubatingInterface {}
    
        interface InternalInterface {}
    
        interface StablePublicInterface {}
    
        CtClass oldBase
        CtClass newBase
        CtClass newSuper
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ErrTrailingBackslash", Const, 0},
    		{"ErrUnexpectedParen", Const, 1},
    		{"Error", Type, 0},
    		{"Error.Code", Field, 0},
    		{"Error.Expr", Field, 0},
    		{"ErrorCode", Type, 0},
    		{"Flags", Type, 0},
    		{"FoldCase", Const, 0},
    		{"Inst", Type, 0},
    		{"Inst.Arg", Field, 0},
    		{"Inst.Op", Field, 0},
    		{"Inst.Out", Field, 0},
    		{"Inst.Rune", Field, 0},
    		{"InstAlt", Const, 0},
    		{"InstAltMatch", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. src/runtime/stack.go

    //
    // varp > sp means that the function has a frame;
    // varp == sp means frameless function.
    
    type adjustinfo struct {
    	old   stack
    	delta uintptr // ptr distance from old to new stack (newbase - oldbase)
    
    	// sghi is the highest sudog.elem on the stack.
    	sghi uintptr
    }
    
    // adjustpointer checks whether *vpp is in the old stack described by adjinfo.
    // If so, it rewrites *vpp to point into the new stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top