Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Unescape (1.69 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputs.kt

                outerPart.runIfNotEmpty {
                    split("*").joinToString("[^/]*") { innerPart ->
                        innerPart.runIfNotEmpty(Regex::escape)
                    }
                }
            }
        }
    
        private
        fun maybeCreateJointRegexForPatterns(paths: String?, isCaseSensitive: Boolean) =
            if (paths.isNullOrEmpty()) {
                null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

        // Note that all tests use a relative path to the script because its absolute path may contain
        // spaces and it breaks logic String.execute which splits the given string at spaces without
        // any options to escape the space.
        ShellScript baseScript = ShellScript.builder().printEnvironmentVariable('FOOBAR').printWorkingDir().writeTo(testDirectory, "test")
    
        def setup() {
            testDirectory.createDir(pwd)
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/runtime/gc_test.go

    	if got != want {
    		t.Fatalf("expected %q, but got %q", want, got)
    	}
    }
    
    func TestGcDeepNesting(t *testing.T) {
    	type T [2][2][2][2][2][2][2][2][2][2]*int
    	a := new(T)
    
    	// Prevent the compiler from applying escape analysis.
    	// This makes sure new(T) is allocated on heap, not on the stack.
    	t.Logf("%p", a)
    
    	a[0][0][0][0][0][0][0][0][0][0] = new(int)
    	*a[0][0][0][0][0][0][0][0][0][0] = 13
    	runtime.GC()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/net/http/server.go

    //   - In 1.22, each segment of a pattern is unescaped; this was not done in 1.21.
    //     For example, in 1.22 the pattern "/%61" matches the path "/a" ("%61" being the URL escape sequence for "a"),
    //     but in 1.21 it would match only the path "/%2561" (where "%25" is the escape for the percent sign).
    //   - When matching patterns to paths, in 1.22 each segment of the path is unescaped; in 1.21, the entire path is unescaped.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. src/sync/map.go

    	p := e.p.Load()
    	if p == nil || p == expunged || *p != old {
    		return false
    	}
    
    	// Copy the interface after the first load to make this method more amenable
    	// to escape analysis: if the comparison fails from the start, we shouldn't
    	// bother heap-allocating an interface value to store.
    	nc := new
    	for {
    		if e.p.CompareAndSwap(p, &nc) {
    			return true
    		}
    		p = e.p.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/exec.go

    			if quote == '"' {
    				// “The <backslash> shall retain its special meaning as an escape
    				// character … only when followed by one of the following characters
    				// when considered special:”
    				switch c {
    				case '$', '`', '"', '\\', '\n':
    					// Handle the escaped character normally.
    				default:
    					// Not an escape character after all.
    					flag = append(flag, '\\', c)
    					escaped = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/rsc.io/markdown/inline.go

    	return i
    }
    
    func linkCorner(url string) bool {
    	for i := 0; i < len(url); i++ {
    		if url[i] == '%' {
    			if i+2 >= len(url) || !isHexDigit(url[i+1]) || !isHexDigit(url[i+2]) {
    				// Goldmark and the Dingus re-escape such percents as %25,
    				// but the spec does not seem to require this behavior.
    				return true
    			}
    		}
    	}
    	return false
    }
    
    func (p *parseState) mergePlain(list []Inline) []Inline {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/func.go

    	f.Cache.scrPoset = append(f.Cache.scrPoset, po)
    }
    
    func (f *Func) localSlotAddr(slot LocalSlot) *LocalSlot {
    	a, ok := f.CanonicalLocalSlots[slot]
    	if !ok {
    		a = new(LocalSlot)
    		*a = slot // don't escape slot
    		f.CanonicalLocalSlots[slot] = a
    	}
    	return a
    }
    
    func (f *Func) SplitString(name *LocalSlot) (*LocalSlot, *LocalSlot) {
    	ptrType := types.NewPtr(types.Types[types.TUINT8])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"f": withRule(mapType(cloneWithRule(&integerType, "self == 'abc'")), "1 == 1"),
    			}),
    			errors: []string{"found no matching overload for '_==_' applied to '(int, string)"},
    		},
    		{name: "invalid rule under unescaped field name",
    			obj: map[string]interface{}{
    				"f": map[string]interface{}{
    					"m": 1,
    				},
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    		handler = c.handlers.subSingle[*subID]
    	}
    	if handler == nil {
    		gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Invalid Handler for type"}))
    		return
    	}
    
    	// TODO: This causes allocations, but escape analysis doesn't really show the cause.
    	// If another faithful engineer wants to take a stab, feel free.
    	go func(m message) {
    		var start time.Time
    		if m.DeadlineMS > 0 {
    			start = time.Now()
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top