Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for e0a080 (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        val body = "\u0800".toRequestBody(contentType)
        assertThat(body.contentType()).isEqualTo("text/plain; charset=utf-8".toMediaType())
        assertThat(body.contentLength()).isEqualTo(3)
        assertThat(bodyToHex(body)).isEqualTo("e0a080")
      }
    
      @Test
      fun stringWithNonDefaultCharsetSpecified() {
        val contentType = "text/plain; charset=utf-16be".toMediaType()
        val body = "\u0800".toRequestBody(contentType)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/templates.md

    {* ../../docs_src/templates/tutorial001.py hl[4,11,15:18] *}
    
    /// note
    
    Before FastAPI 0.108.0, Starlette 0.29.0, the `name` was the first parameter.
    
    Also, before that, in previous versions, the `request` object was passed as part of the key-value pairs in the context for Jinja2.
    
    ///
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// note
    
    The command `uvicorn main:app` refers to:
    
    * `main`: the file `main.py` (the Python "module").
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x10, SmbConstants.ATTR_DIRECTORY);
            assertEquals(0x20, SmbConstants.ATTR_ARCHIVE);
            assertEquals(0x800, SmbConstants.ATTR_COMPRESSED);
            assertEquals(0x080, SmbConstants.ATTR_NORMAL);
            assertEquals(0x100, SmbConstants.ATTR_TEMPORARY);
        }
    
        @Test
        @DisplayName("Should define access mask constants")
        void testAccessMaskConstants() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbConstants.java

        // extended file attribute encoding(others same as above)
        /**
         * File is compressed.
         */
        int ATTR_COMPRESSED = 0x800;
        /**
         * File is a normal file.
         */
        int ATTR_NORMAL = 0x080;
        /**
         * File is temporary.
         */
        int ATTR_TEMPORARY = 0x100;
    
        // access mask encoding
        /**
         * Permission to read data from the file.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        /** Compressed file attribute */
        int ATTR_COMPRESSED = 0x800;
        /** Normal file attribute */
        int ATTR_NORMAL = 0x080;
        /** Temporary file attribute */
        int ATTR_TEMPORARY = 0x100;
    
        // access mask encoding
        /** File read data access right */
        int FILE_READ_DATA = 0x00000001; // 1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        assertThat(client.processNextFrame()).isFalse()
        client.listener.assertClosing(1000, "Bye!")
      }
    
      @Test
      fun protocolErrorBeforeCloseSendsFailure() {
        server.sink.write("0a00".decodeHex()).emit() // Invalid non-final ping frame.
        client.processNextFrame() // Detects error, send close, close connection.
        taskFaker.runTasks()
        client.webSocket!!.finishReader()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("0A0", Hexdump.toHexString(data3, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2)
            assertEquals("0A0B", Hexdump.toHexString(data3, 0, 4)); // 4 chars = 2 bytes
            assertEquals("0A0B0", Hexdump.toHexString(data3, 0, 5)); // 5 chars = 2.5 bytes (rounds up to 3)
            assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    	{"\u0250\u0250\u0250\u0250\u0250", []byte("\u2C6F\u2C6F\u2C6F\u2C6F\u2C6F")}, // grows one byte per char
    	{"a\u0080\U0010FFFF", []byte("A\u0080\U0010FFFF")},                           // test utf8.RuneSelf and utf8.MaxRune
    }
    
    var lowerTests = []StringTest{
    	{"", []byte("")},
    	{"abc", []byte("abc")},
    	{"AbC123", []byte("abc123")},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    }
    
    // TODO: ERROR: must have at least one column (SQLSTATE 0A000)
    func TestInvalidCachedPlanSimpleProtocolGaussDB(t *testing.T) {
    	t.Skipf("This test case skipped, because of gaussdb not support creaing empty table(SQLSTATE 0A000)")
    	if DB.Dialector.Name() != "gaussdb" {
    		return
    	}
    
    	db, err := gorm.Open(gaussdb.Open(gaussdbDSN), &gorm.Config{})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
Back to top