Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,092 for Trailing (0.47 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

          .isEqualTo(28800000L)
        // Ignore trailing junk
        assertThat("Thursday, 01-Jan-1970 00:00:00 PST JUNK".toHttpDateOrNull()!!.time)
          .isEqualTo(28800000L)
    
        // ANSI C's asctime() format
        // This format ignores the timezone entirely even if it is present and uses GMT.
        assertThat("Fri Jun 6 12:30:30 2014 PST".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
        // Ignore trailing junk.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/go/doc/comment/testdata_test.go

    			return true
    		}
    		return false
    	}
    
    	stripDollars := func(b []byte) []byte {
    		// Remove trailing $ on lines.
    		// They make it easier to see lines with trailing spaces,
    		// as well as turning them into lines without trailing spaces,
    		// in case editors remove trailing spaces.
    		return bytes.ReplaceAll(b, []byte("$\n"), []byte("\n"))
    	}
    	for _, file := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    	} else {
    		p.printf("\n")
    	}
    	for i := 0; i < p.margin; i++ {
    		p.printf("\t")
    	}
    }
    
    // trim removes trailing spaces and tabs from the current line.
    func (p *printer) trim() {
    	// Remove trailing spaces and tabs from line we're about to end.
    	b := p.Bytes()
    	n := len(b)
    	for n > 0 && (b[n-1] == '\t' || b[n-1] == ' ') {
    		n--
    	}
    	p.Truncate(n)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/mips.s

    	//
    	// NOP
    	//
    	//	LNOP comma // asm doesn't support the trailing comma.
    	//	{
    	//		outcode(int($1), &nullgen, 0, &nullgen);
    	//	}
    	NOP
    
    	//	LNOP rreg comma // asm doesn't support the trailing comma.
    	//	{
    	//		outcode(int($1), &$2, 0, &nullgen);
    	//	}
    	NOP	R2
    
    	//	LNOP freg comma // asm doesn't support the trailing comma.
    	//	{
    	//		outcode(int($1), &$2, 0, &nullgen);
    	//	}
    	NOP	F2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. cmd/gotemplate/gotemplate_test.go

    		numSpaces int
    		content   string
    		expected  string
    	}{
    		"empty": {
    			numSpaces: 10,
    			content:   "",
    			expected:  "",
    		},
    		"trailing-newline": {
    			numSpaces: 2,
    			content:   "hello\nworld\n",
    			expected:  "hello\n  world\n  ",
    		},
    		"no-trailing-newline": {
    			numSpaces: 1,
    			content:   "hello\nworld",
    			expected:  "hello\n world",
    		},
    		"zero-indent": {
    			numSpaces: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 22 13:43:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. releasenotes/notes/45549.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: security
    issue:
    - 45546
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 04:02:10 UTC 2023
    - 204 bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/TreeFormatter.java

                if (value.length() == 0) {
                    // Always expand empty node
                    return Separator.NewLine;
                }
                char trailing = value.charAt(value.length() - 1);
                if (trailing == '.') {
                    // Always expand with trailing .
                    return Separator.NewLine;
                }
                if (firstChild.nextSibling == null
                    && firstChild.firstChild == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParserTest.groovy

            "http://testrepo"      | "./directory1"               | "explicit relative URLS"
            "http://testrepo"      | "directory1/"                | "trailing slash"
            "http://testrepo"      | "./directory1/"              | "relative URL with trailing slash"
            "http://testrepo"      | "http://testrepo/directory1" | "complete URLS"
            "http://testrepo"      | "http://testrepo/directory1" | "hrefs with truncated text"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Utf8.java

                //     || byte1 == (byte) 0xF4 && byte2 > (byte) 0x8F)
                || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0
                // Third byte trailing-byte test
                || bytes[index++] > (byte) 0xBF
                // Fourth byte trailing-byte test
                || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 14:11:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Utf8.java

                //     || byte1 == (byte) 0xF4 && byte2 > (byte) 0x8F)
                || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0
                // Third byte trailing-byte test
                || bytes[index++] > (byte) 0xBF
                // Fourth byte trailing-byte test
                || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 14:11:51 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top