Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Latin (0.77 sec)

  1. src/compress/gzip/gzip.go

    // GZIP (RFC 1952) specifies that strings are NUL-terminated ISO 8859-1 (Latin-1).
    func (z *Writer) writeString(s string) (err error) {
    	// GZIP stores Latin-1 strings; error if non-Latin-1; convert if non-ASCII.
    	needconv := false
    	for _, v := range s {
    		if v == 0 || v > 0xff {
    			return errors.New("gzip.Write: non-Latin-1 header string")
    		}
    		if v > 0x7f {
    			needconv = true
    		}
    	}
    	if needconv {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    	m = Map(rot13, Map(rot13, "a to zed"))
    	expect = "a to zed"
    	if m != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 5. Drop
    	dropNotLatin := func(r rune) rune {
    		if unicode.Is(unicode.Latin, r) {
    			return r
    		}
    		return -1
    	}
    	m = Map(dropNotLatin, "Hello, 세계")
    	expect = "Hello"
    	if m != expect {
    		t.Errorf("drop: expected %q got %q", expect, m)
    	}
    
    	// 6. Identity
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    	expect = "a to zed"
    	if string(m) != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 5. Drop
    	dropNotLatin := func(r rune) rune {
    		if unicode.Is(unicode.Latin, r) {
    			return r
    		}
    		return -1
    	}
    	m = Map(dropNotLatin, []byte("Hello, 세계"))
    	expect = "Hello"
    	if string(m) != expect {
    		t.Errorf("drop: expected %q got %q", expect, m)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom("pom-encoding/utf-8");
            assertEquals("TEST-CHARS: \u00DF\u0131\u03A3\u042F\u05D0\u20AC", pom.getValue("description"));
            pom = buildPom("pom-encoding/latin-1");
            assertEquals("TEST-CHARS: \u00C4\u00D6\u00DC\u00E4\u00F6\u00FC\u00DF", pom.getValue("description"));
        }
    
        /* MNG-4070 */
        @Test
        void testXmlWhitespaceHandling() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  5. docs/az/docs/fastapi-people.md

    {% endif %}
    
    ## Məlumatlar haqqında - texniki detallar
    
    Bu səhifənin əsas məqsədi, icmanın başqalarına kömək etmək üçün göstərdiyi əməyi vurğulamaqdır.
    
    Xüsusilə də normalda daha az görünən və bir çox hallarda daha çətin olan, başqalarının suallarına kömək etmək və tərcümələrlə bağlı Pull Request-lərə rəy vermək kimi səy göstərmək.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top