Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nudge (0.07 sec)

  1. src/html/template/escape.go

    		// The contexts differ only by jsCtx.
    		c.jsCtx = jsCtxUnknown
    		return c
    	}
    
    	// Allow a nudged context to join with an unnudged one.
    	// This means that
    	//   <p title={{if .C}}{{.}}{{end}}
    	// ends in an unquoted value state even though the else branch
    	// ends in stateBeforeValue.
    	if c, d := nudge(a), nudge(b); !(c.eq(a) && d.eq(b)) {
    		if e := join(c, d, node, nodeName); e.state != stateError {
    			return e
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modcmd/vendor.go

    // Note that this list could be arbitrarily extended, and it is longer
    // in other tools (such as godep or dep). By using this limited set of
    // prefixes and also insisting on capitalized file names, we are trying
    // to nudge people toward more agreement on the naming
    // and also trying to avoid false positives.
    var metaPrefixes = []string{
    	"AUTHORS",
    	"CONTRIBUTORS",
    	"COPYLEFT",
    	"COPYING",
    	"COPYRIGHT",
    	"LEGAL",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcher.java

    import static org.apache.commons.lang.StringUtils.substringAfterLast;
    
    /**
     * This class has two public APIs:
     *
     * <ul>
     * <li>Judge whether a test class might be included. For example, class 'org.gradle.Test' can't
     * be included by pattern 'org.apache.Test'
     * <li>Judge whether a test method is matched exactly.
     * </ul>
     *
     * In both cases, if the pattern starts with an upper-case letter, it will be used to match
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/net/ip_test.go

    			}
    		} else if !testing.Short() {
    			// We can't control what the host resolver does; if it can resolve, say,
    			// 127.0.0.256 or fe80::1%911 or a host named 'abc', who are we to judge?
    			// Warn about these discrepancies but don't fail the test.
    			addrs, err := LookupHost(tt.in)
    			if err == nil {
    				t.Logf("warning: LookupHost(%q) = %v, want error", tt.in, addrs)
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    		capacity := max(w.capacity/2, w.lowerBoundCapacity)
    		if capacity < w.capacity {
    			w.doCacheResizeLocked(capacity)
    		}
    		return
    	}
    }
    
    // isCacheFullLocked used to judge whether watchCacheEvent is full.
    // Assumes that lock is already held for write.
    func (w *watchCache) isCacheFullLocked() bool {
    	return w.endIndex == w.startIndex+w.capacity
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top