Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 932 for Trailing (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go

    //   - Uint32/SetUint32: ifindex, metric, mtu
    type Ifreq struct{ raw ifreq }
    
    // NewIfreq creates an Ifreq with the input network interface name after
    // validating the name does not exceed IFNAMSIZ-1 (trailing NULL required)
    // bytes.
    func NewIfreq(name string) (*Ifreq, error) {
    	// Leave room for terminating NULL byte.
    	if len(name) >= IFNAMSIZ {
    		return nil, EINVAL
    	}
    
    	var ifr ifreq
    	copy(ifr.Ifrn[:], name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/BooleanQuestionPromptEventTest.groovy

        def "formats prompt"() {
            def event = new BooleanQuestionPromptEvent(123, "question?", true)
    
            expect:
            event.prompt == "question? (default: yes) [yes, no] " // trailing space
        }
    
        def "accepts valid input"() {
            def event = new BooleanQuestionPromptEvent(123, "question?", true)
    
            expect:
            def result = event.convert(input)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/common/source_code.cc

      if (absl::StrContains(line, '\n')) {
        LOG(ERROR) << "Attempt to add multiple lines; bad formatting is likely.";
      } else if (had_trailing_newline) {
        LOG(WARNING) << "Superfluous trailing newline in '" << line << "'";
      }
      lines_.push_back({indent, string(absl::StripTrailingAsciiWhitespace(line))});
    }
    
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/Util.h

     *  @param szString  The string to trim.
     */
    
    CU_EXPORT void CU_trim_right(char *szString);
    /**< 
     *  Trims trailing whitespace from the specified string.
     *  @param szString  The string to trim.
     */
    
    CU_EXPORT void CU_trim(char *szString);
    /**< 
     *  Trims leading and trailing whitespace from the specified string.
     *  @param szString  The string to trim.
     */
    
    CU_EXPORT size_t CU_number_width(int number);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/path/filepath/match.go

    func Match(pattern, name string) (matched bool, err error) {
    Pattern:
    	for len(pattern) > 0 {
    		var star bool
    		var chunk string
    		star, chunk, pattern = scanChunk(pattern)
    		if star && chunk == "" {
    			// Trailing * matches rest of string unless it has a /.
    			return !strings.Contains(name, string(Separator)), nil
    		}
    		// Look for match at current position.
    		t, ok, err := matchChunk(chunk, name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/crypto/x509/pkcs1.go

    func ParsePKCS1PrivateKey(der []byte) (*rsa.PrivateKey, error) {
    	var priv pkcs1PrivateKey
    	rest, err := asn1.Unmarshal(der, &priv)
    	if len(rest) > 0 {
    		return nil, asn1.SyntaxError{Msg: "trailing data"}
    	}
    	if err != nil {
    		if _, err := asn1.Unmarshal(der, &ecPrivateKey{}); err == nil {
    			return nil, errors.New("x509: failed to parse private key (use ParseECPrivateKey instead for this key format)")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. src/net/http/pattern.go

    func (p *pattern) lastSegment() segment {
    	return p.segments[len(p.segments)-1]
    }
    
    // A segment is a pattern piece that matches one or more path segments, or
    // a trailing slash.
    //
    // If wild is false, it matches a literal segment, or, if s == "/", a trailing slash.
    // Examples:
    //
    //	"a" => segment{s: "a"}
    //	"/{$}" => segment{s: "/"}
    //
    // If wild is true and multi is false, it matches a single path segment.
    // Example:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Add a trailing slash to the given URI's path if necessary.
         *
         * @param uri the original URI
         * @return a URI guaranteed to have a trailing slash in the path
         */
        private static URI withTrailingSlash(URI uri) {
            if (uri.getPath().endsWith("/")) {
                return uri;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    		{"␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡", true},
    		{"trailing VT␋/trailing VT␋", true},
    		{"␋leading VT/␋leading VT", true},
    		{"~leading tilde", true},
    		{"\rleading CR", true},
    		{"\nleading LF", true},
    		{"\tleading HT", true},
    		{"trailing CR\r", true},
    		{"trailing LF\n", true},
    		{"trailing HT\t", true},
    		// cases for which test should fail.
    		// passing invalid object names.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockEntryFilterFactoryTest.groovy

            ['org:foo']             | ['org:foo:2.1']                   | ['com:bar:1.1']
            ['org:foo,']            | ['org:foo:2.1']                   | ['com:bar:1.1'] // Simply shows a trailing comma is ignored
            ['co*:ba*']             | ['com:bar:2.1']                   | ['org:foo:1.1']
            ['*:ba*']               | ['org:bar:2.1']                   | ['com:foo:1.1']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top