Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 114 for ISO (0.04 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. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskInputFilePropertyBuilder.java

         *
         * <p>
         * Line ending normalization is only supported with ASCII encoding and its supersets (i.e.
         * UTF-8, ISO-8859-1, etc). Other encodings (e.g. UTF-16) will be treated as binary files
         * and will not be subject to line ending normalization.
         * </p>
         *
         * @since 7.2
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 13 17:35:59 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/mime/type_test.go

    		val := TypeByExtension(ext)
    		if val != want {
    			t.Errorf("TypeByExtension(%q) = %q, want %q", ext, val, want)
    		}
    	}
    }
    
    func TestTypeByExtensionCase(t *testing.T) {
    	const custom = "test/test; charset=iso-8859-1"
    	const caps = "test/test; WAS=ALLCAPS"
    
    	cleanup := setMimeInit(func() {
    		clearMimeTypes()
    		setType(".TEST", caps)
    		setType(".tesT", custom)
    	})
    	defer cleanup()
    
    	// case-sensitive lookup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 21:09:03 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    developed by javolution (http://javolution.org/). This product includes software developed by Rome (https://rome.dev.java.net/). about.html in archive lib/org.eclipse.sisu.inject-0.3.5.jar http://www.w3.org/1999/xhtml Content-Type text/html; charset=ISO-8859-1 About org.eclipse.sisu.inject EN-US About org.eclipse.sisu.inject November 5, 2013 License The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Sep 10 19:27:25 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. 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)
Back to top