Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 92 for ISO (0.02 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    		case 2:
    			// next key
    			curKey = s[end+1 : p]
    			if curKey > key {
    				return end, end, end, true
    			}
    			start = end
    			sep = p
    		}
    	}
    }
    
    // ParseBase parses a 2- or 3-letter ISO 639 code.
    // It returns a ValueError if s is a well-formed but unknown language identifier
    // or another error if another error occurred.
    func ParseBase(s string) (l Language, err error) {
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/PublicationFieldValidator.java

            while (offset < value.length()) {
                final int unicodeChar = value.codePointAt(offset);
                if (Character.isISOControl(unicodeChar)) {
                    throw failure(String.format("%s cannot contain ISO control character '\\u%04x'.", name, unicodeChar));
                }
                if ('\\' == unicodeChar || ('/' == unicodeChar && !allowSlash)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/encoder.md

    ## 使用`jsonable_encoder`
    
    让我们假设你有一个数据库名为`fake_db`,它只能接收与JSON兼容的数据。
    
    例如,它不接收`datetime`这类的对象,因为这些对象与JSON不兼容。
    
    因此,`datetime`对象必须将转换为包含<a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO格式化</a>的`str`类型对象。
    
    同样,这个数据库也不会接收Pydantic模型(带有属性的对象),而只接收`dict`。
    
    对此你可以使用`jsonable_encoder`。
    
    它接收一个对象,比如Pydantic模型,并会返回一个JSON兼容的版本:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4  21"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/mime/encodedword.go

    type WordDecoder struct {
    	// CharsetReader, if non-nil, defines a function to generate
    	// charset-conversion readers, converting from the provided
    	// charset into UTF-8.
    	// Charsets are always lower-case. utf-8, iso-8859-1 and us-ascii charsets
    	// are handled by default.
    	// One of the CharsetReader's result values must be non-nil.
    	CharsetReader func(charset string, input io.Reader) (io.Reader, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/compress/gzip/gunzip.go

    func (z *Reader) Multistream(ok bool) {
    	z.multistream = ok
    }
    
    // readString reads a NUL-terminated string from z.r.
    // It treats the bytes read as being encoded as ISO 8859-1 (Latin-1) and
    // will output a string encoded using UTF-8.
    // This method always updates z.digest with the data read.
    func (z *Reader) readString() (string, error) {
    	var err error
    	needConv := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/test-full.xml

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
       Licensed to the Apache Software Foundation (ASF) under one
       or more contributor license agreements.  See the NOTICE file
       distributed with this work for additional information
       regarding copyright ownership.  The ASF licenses this file
       to you under the Apache License, Version 2.0 (the
       "License"); you may not use this file except in compliance
       with the License.  You may obtain a copy of the License at
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                String enc;
                if (StringUtil.isNotBlank(getFessConfig().getCrawlerDocumentSiteEncoding())
                        && (!getFessConfig().isCrawlerDocumentUseSiteEncodingOnEnglish()
                                || ("ISO-8859-1".equalsIgnoreCase(encoding) || "US-ASCII".equalsIgnoreCase(encoding)))) {
                    enc = getFessConfig().getCrawlerDocumentSiteEncoding();
                } else {
                    enc = encoding;
                }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.groovy

            then:
            htmlReport().sourceCode('foo', 'Bar.java').contains('öäüß') == match
    
            where:
            encoding     || match
            'UTF-8'      || true
            'ISO-8859-1' || false
        }
    
        private JacocoReportFixture htmlReport(String basedir = "${REPORTING_BASE}/jacoco/test/html") {
            return new JacocoReportFixture(file(basedir))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/tasks/WriteProperties.java

     *     <li>the properties are sorted alphabetically</li>
     * </ul>
     *
     * <p>Like with {@link java.util.Properties}, Unicode characters are escaped when using the
     * default Latin-1 (ISO-8559-1) encoding.</p>
     *
     * @see java.util.Properties#store(OutputStream, String)
     * @since 3.3
     */
    @CacheableTask
    public abstract class WriteProperties extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle-handlers_test.go

    			lifecycleResponse:  []byte(``),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    				Code:     "InvalidArgument",
    				Message:  "Date must be provided in ISO 8601 format",
    			},
    
    			shouldPass: false,
    		},
    		{
    			method:             http.MethodPut,
    			bucketName:         bucketName,
    			accessKey:          creds.AccessKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top