Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 681 for Separator (0.28 sec)

  1. src/os/path_windows.go

    	"internal/syscall/windows"
    	"syscall"
    )
    
    const (
    	PathSeparator     = '\\' // OS-specific path separator
    	PathListSeparator = ';'  // OS-specific path list separator
    )
    
    // IsPathSeparator reports whether c is a directory separator character.
    func IsPathSeparator(c uint8) bool {
    	// NOTE: Windows accepts / as path separator.
    	return c == '\\' || c == '/'
    }
    
    func dirname(path string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/path/filepath/match.go

    // Match reports whether name matches the shell file name pattern.
    // The pattern syntax is:
    //
    //	pattern:
    //		{ term }
    //	term:
    //		'*'         matches any sequence of non-Separator characters
    //		'?'         matches any single non-Separator character
    //		'[' [ '^' ] { character-range } ']'
    //		            character class (must be non-empty)
    //		c           matches character c (c != '*', '?', '\\', '[')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSink.java

       * the operating system's default line separator. This method is equivalent to {@code
       * writeLines(lines, System.getProperty("line.separator"))}.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
      public void writeLines(Iterable<? extends CharSequence> lines) throws IOException {
        writeLines(lines, System.getProperty("line.separator"));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/LanguageTypeSampleIntegrationTest.groovy

    DocumentationComponent 'docs'
    -----------------------------
    
    Source sets
        Markdown source 'docs:userguide'
            srcDir: src${File.separator}docs${File.separator}userguide
        Text source 'docs:reference'
            srcDir: src${File.separator}docs${File.separator}reference
    
    Binaries
        DocumentationBinary 'docs:exploded'
            build using task: :docsExploded
    """
        }
    
        def "can build binary"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

         */
        private
        fun File.injectAgentOptions(separator: String) {
            if (agentJarNames.isEmpty()) {
                return
            }
            var replacementsCount = 0
            // readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too.
            writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line ->
                when {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 24 10:25:27 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.internal.sharedruntime.support
    
    
    /**
     * Appends value to the given Appendable and simple `\n` line separator after it.
     *
     * Always using the same line separator on all systems to allow for reproducible outputs.
     */
    fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable {
        assert('\r' !in value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

         */
        public static String join(String separator, Object[] objects) {
            return join(separator, objects == null ? null : Arrays.asList(objects));
        }
    
        /**
         * Creates a string with {@code toString()} of each transformed object with the given separator.
         *
         * @see #join(String, Object[])
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. src/crypto/sha1/sha1.go

    	separator := byte(0x80) // gets reset to 0x00 once used
    	for i := byte(0); i < chunk; i++ {
    		mask := byte(int8(i-nx) >> 7) // 0x00 after the end of data
    
    		// if we reached the end of the data, replace with 0x80 or 0x00
    		d.x[i] = (^mask & separator) | (mask & d.x[i])
    
    		// zero the separator once used
    		separator &= mask
    
    		if i >= 56 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            File file = new File(s);
            if (file.isAbsolute()) {
                // path was already absolute, just normalize file separator and we're done
                s = file.getPath();
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path, don't align with project directory but with drive root
                s = file.getAbsolutePath();
            } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/file/FileCopyDetails.java

         */
        @Override
        String getName();
    
        /**
         * Returns the path of this file, relative to the root of the copy destination.
         * <p>
         * Always uses '/' as the hierarchy separator, regardless of platform file separator.
         * Same as calling <code>getRelativePath().getPathString()</code>.
         *
         * @return The path, relative to the root of the copy destination. Never returns null.
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top