Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 779 for Leading (0.24 sec)

  1. src/os/path_unix.go

    	dirname := "."
    
    	// Remove all but one leading slash.
    	for len(path) > 1 && path[0] == '/' && path[1] == '/' {
    		path = path[1:]
    	}
    
    	i := len(path) - 1
    
    	// Remove trailing slashes.
    	for ; i > 0 && path[i] == '/'; i-- {
    		path = path[:i]
    	}
    
    	// if no slashes in path, base is path
    	basename := path
    
    	// Remove leading directory path
    	for i--; i >= 0; i-- {
    		if path[i] == '/' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. src/mime/type.go

    }
    
    // AddExtensionType sets the MIME type associated with
    // the extension ext to typ. The extension should begin with
    // a leading dot, as in ".html".
    func AddExtensionType(ext, typ string) error {
    	if !strings.HasPrefix(ext, ".") {
    		return fmt.Errorf("mime: extension %q missing leading dot", ext)
    	}
    	once.Do(initMime)
    	return setExtensionType(ext, typ)
    }
    
    func setExtensionType(extension, mimeType string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. samples/bookinfo/src/productpage/templates/productpage.html

            <h2 class="mt-5 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900">Sign in to BookInfo</h2>
        </div>
        <div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
          <form class="space-y-6" method="post" action='login' name="login_form">
            <div>
              <label for="email" class="block text-sm font-medium leading-6 text-gray-900">Username</label>
              <div class="mt-2">
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/fmt/format.go

    		buf[i] = '0'
    	}
    
    	// Various prefixes: 0x, -, etc.
    	if f.sharp {
    		switch base {
    		case 2:
    			// Add a leading 0b.
    			i--
    			buf[i] = 'b'
    			i--
    			buf[i] = '0'
    		case 8:
    			if buf[i] != '0' {
    				i--
    				buf[i] = '0'
    			}
    		case 16:
    			// Add a leading 0x or 0X.
    			i--
    			buf[i] = digits[16]
    			i--
    			buf[i] = '0'
    		}
    	}
    	if verb == 'O' {
    		i--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/internal/filepathlite/path.go

    		}
    		return originalPath + "."
    	}
    	rooted := IsPathSeparator(path[0])
    
    	// Invariants:
    	//	reading from path; r is index of next byte to process.
    	//	writing to buf; w is index of next byte to write.
    	//	dotdot is index in buf where .. must stop, either because
    	//		it is the leading slash or it is a leading ../../.. prefix.
    	n := len(path)
    	out := lazybuf{path: path, volAndPath: originalPath, volLen: volLen}
    	r, dotdot := 0, 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. hack/verify-netparse-cve.sh

        \) -name '*.go'
    }
    
    # find files using net.ParseIP()
    netparseip_matches=$(find_files | xargs grep -nE "net.ParseIP\(.*\)" 2>/dev/null) || true
    if [[ -n "${netparseip_matches}" ]]; then
      echo "net.ParseIP reject leading zeros in the dot-decimal notation of IPv4 addresses since golang 1.17:" >&2
      echo "${netparseip_matches}" >&2
      echo >&2
      echo "Use k8s.io/utils/net ParseIPSloppy() to parse IP addresses. Kubernetes #100895" >&2
      echo >&2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/codegen_test.cc

      ExpectErrorContains(ValidateCppIdent(" ", ""), "illegal leading char");
      ExpectErrorContains(ValidateCppIdent("0", ""), "illegal leading char");
      ExpectErrorContains(ValidateCppIdent(".", ""), "illegal leading char");
      ExpectErrorContains(ValidateCppIdent(":", ""), "illegal leading char");
      ExpectErrorContains(ValidateCppIdent("a.", ""), "illegal char");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/fmt/doc.go

    	%x	base 16, lower-case, two characters per byte
    	%X	base 16, upper-case, two characters per byte
    
    Slice:
    
    	%p	address of 0th element in base 16 notation, with leading 0x
    
    Pointer:
    
    	%p	base 16 notation, with leading 0x
    	The %b, %d, %o, %x and %X verbs also work with pointers,
    	formatting the value exactly as if it were an integer.
    
    The default format for %v is:
    
    	bool:                    %t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. src/path/filepath/path_windows.go

    	var lastChar byte
    	for _, e := range elem {
    		switch {
    		case b.Len() == 0:
    			// Add the first non-empty path element unchanged.
    		case os.IsPathSeparator(lastChar):
    			// If the path ends in a slash, strip any leading slashes from the next
    			// path element to avoid creating a UNC path (any path starting with "\\")
    			// from non-UNC elements.
    			//
    			// The correct behavior for Join when the first element is an incomplete UNC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go

    	if scale == nil {
    		return nil
    	}
    
    	var allErrs field.ErrorList
    
    	// validate specReplicas
    	specReplicasPath := strings.TrimPrefix(scale.SpecReplicasPath, ".") // ignore leading period
    	specReplicas, _, err := unstructured.NestedInt64(obj.UnstructuredContent(), strings.Split(specReplicasPath, ".")...)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:00:05 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top