Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,225 for Leading (0.12 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. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.cc

      // Permute updates if `update_window_dims` are leading indices.
      // Other possibilities for `update_window_dims` are not supported yet.
      if (!IsIotaAttr(update_window_dims, update_window_dims.size()))
        return rewriter.notifyMatchFailure(
            scatter_op, "update_window_dims are not leading or trailing indices");
    
      SmallVector<int64_t, 4> permutation_array(updates_type.getRank());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 02:29:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/net/textproto/textproto.go

    		return 0, err
    	}
    	return id, nil
    }
    
    // TrimString returns s without leading and trailing ASCII space.
    func TrimString(s string) string {
    	for len(s) > 0 && isASCIISpace(s[0]) {
    		s = s[1:]
    	}
    	for len(s) > 0 && isASCIISpace(s[len(s)-1]) {
    		s = s[:len(s)-1]
    	}
    	return s
    }
    
    // TrimBytes returns b without leading and trailing ASCII space.
    func TrimBytes(b []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/net/textproto/writer.go

    	fmt.Fprintf(w.W, format, args...)
    	w.W.Write(crnl)
    	return w.W.Flush()
    }
    
    // DotWriter returns a writer that can be used to write a dot-encoding to w.
    // It takes care of inserting leading dots when necessary,
    // translating line-ending \n into \r\n, and adding the final .\r\n line
    // when the DotWriter is closed. The caller should close the
    // DotWriter before the next call to a method on w.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedDependencyResolutionIntegrationTest.groovy

            changedResolve()
        }
    
        @Issue("GRADLE-2781")
        def "no leading zeros in sha1 checksums supported"() {
            given:
            def sha1 = new File("${module.jarFile.absolutePath}.sha1")
            server.etags = null
            server.sendLastModified = false
            byte[] jarBytes = [0, 0, 0, 5] // this should produce leading zeros
            module.jarFile.bytes = jarBytes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. platforms/software/security/src/main/java/org/gradle/plugins/signing/type/SignatureType.java

    import java.io.File;
    import java.io.InputStream;
    import java.io.OutputStream;
    
    /**
     * The type of signature.
     */
    public interface SignatureType {
    
        /**
         * The file extension (without the leading dot) associated to this type of signature.
         */
        @Input
        String getExtension();
    
        /**
         * Calculates the file where to store the signature of the given file to be signed.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top