Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 171 for Strip (0.72 sec)

  1. internal/logger/console.go

    	quiet(msg string, args ...interface{})
    	pretty(msg string, args ...interface{})
    }
    
    func consoleLog(console Logger, msg string, args ...interface{}) {
    	switch {
    	case jsonFlag:
    		// Strip escape control characters from json message
    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/fingerprinting.cc

    #include "absl/container/btree_map.h"
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "absl/strings/strip.h"
    #include "tensorflow/cc/saved_model/constants.h"
    #include "tensorflow/core/framework/versions.pb.h"
    #include "tensorflow/core/graph/regularization/simple_delete.h"
    #include "tensorflow/core/graph/regularization/util.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/net/netip/slow_test.go

    //   - IPv4 in "class-B style": 1.2.52 (same as "1.2.3.4")
    //   - IPv4 in "class-A style": 1.564 (same as "1.2.3.4")
    func parseIPSlow(s string) (Addr, error) {
    	// Identify and strip out the zone, if any. There should be 0 or 1
    	// '%' in the string.
    	var zone string
    	fs := strings.Split(s, "%")
    	switch len(fs) {
    	case 1:
    		// No zone, that's fine.
    	case 2:
    		s, zone = fs[0], fs[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/internal/filepathlite/path.go

    		if path[i] == '.' {
    			return path[i:]
    		}
    	}
    	return ""
    }
    
    // Base is filepath.Base.
    func Base(path string) string {
    	if path == "" {
    		return "."
    	}
    	// Strip trailing slashes.
    	for len(path) > 0 && IsPathSeparator(path[len(path)-1]) {
    		path = path[0 : len(path)-1]
    	}
    	// Throw away volume name
    	path = path[len(VolumeName(path)):]
    	// Find the last element
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/go/doc/example.go

    		text := last.Text()
    		if loc := outputPrefix.FindStringSubmatchIndex(text); loc != nil {
    			if loc[2] != -1 {
    				unordered = true
    			}
    			text = text[loc[1]:]
    			// Strip zero or more spaces followed by \n or a single space.
    			text = strings.TrimLeft(text, " ")
    			if len(text) > 0 && text[0] == '\n' {
    				text = text[1:]
    			}
    			return text, unordered, true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

                      </fileset>
                    </copy>
                    <!-- TODO(cpovirk): If we continue stripping these once we use @ElementTypesAreNonnullByDefault, then we should strip @ElementTypesAreNonnullByDefault, too, to reflect that the classes are *not* fully annotated. But hopefully we can stop stripping them, as https://github.com/jspecify/jspecify/issues/184 should make possible. -->
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 15:00:55 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java

         */
        public static final String DISABLE_PERFORMANCE_LOGGING = "org.gradle.daemon.performance.disable-logging";
    
        /**
         * The prefix for the message logged when an unhealthy condition is detected.
         * Used to strip this message from the logs during integration testing.
         */
        public static final String EXPIRE_DAEMON_MESSAGE = "The Daemon will expire ";
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 7.9K bytes
    - Viewed (1)
  8. src/net/http/cookiejar/jar.go

    // host name.
    func canonicalHost(host string) (string, error) {
    	var err error
    	if hasPort(host) {
    		host, _, err = net.SplitHostPort(host)
    		if err != nil {
    			return "", err
    		}
    	}
    	// Strip trailing dot from fully qualified domain names.
    	host = strings.TrimSuffix(host, ".")
    	encoded, err := toASCII(host)
    	if err != nil {
    		return "", err
    	}
    	// We know this is ascii, no need to check.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/go/types/instantiate_test.go

    		t.Errorf("instantiated %q, want %q", got, want)
    	}
    }
    
    // Copied from errors.go.
    func stripAnnotations(s string) string {
    	var buf strings.Builder
    	for _, r := range s {
    		// strip #'s and subscript digits
    		if r < '₀' || '₀'+10 <= r { // '₀' == U+2080
    			buf.WriteRune(r)
    		}
    	}
    	if buf.Len() < len(s) {
    		return buf.String()
    	}
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. common/Makefile.common.mk

    # limitations under the License.
    
    FINDFILES=find . \( -path ./common-protos -o -path ./.git -o -path ./out -o -path ./.github -o -path ./licenses -o -path ./vendor $(if $(strip ${FINDFILES_IGNORE}), -o ${FINDFILES_IGNORE}) \) -prune -o -type f
    
    XARGS = xargs -0 -r
    
    lint-dockerfiles:
    	@${FINDFILES} -name 'Dockerfile*' -print0 | ${XARGS} hadolint -c ./common/config/.hadolint.yml
    
    lint-scripts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top