Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 2,562 for Data (0.04 seconds)

  1. cmd/erasure_test.go

    }
    
    func TestErasureEncodeDecode(t *testing.T) {
    	data := make([]byte, 256)
    	if _, err := io.ReadFull(rand.Reader, data); err != nil {
    		t.Fatalf("Failed to read random data: %v", err)
    	}
    	for i, test := range erasureEncodeDecodeTests {
    		buffer := make([]byte, len(data), 2*len(data))
    		copy(buffer, data)
    
    		erasure, err := NewErasure(t.Context(), test.dataBlocks, test.parityBlocks, blockSizeV2)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

                searchPaging(data, form);
            });
        }
    
        /**
         * Search with paging.
         * @param data The render data.
         * @param form The search form.
         */
        protected void searchPaging(final RenderData data, final SearchForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/json-base64-bytes.md

    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:9,29:35] hl[9] *}
    
    「/docs」を確認すると、`data` フィールドが base64 でエンコードされたバイト列を期待していることが表示されます。
    
    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    </div>
    
    次のようなリクエストを送れます:
    
    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip | 豆知識
    
    `aGVsbG8=` は `hello` の base64 エンコードです。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

        }
    
        /**
         * Sets the data to be written to the file.
         *
         * @param data the data buffer to write
         * @param offset the offset in the data buffer
         * @param length the number of bytes to write
         */
        public void setData(final byte[] data, final int offset, final int length) {
            this.data = data;
            this.dataOffset = offset;
            this.dataLength = length;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/Kerb5ContextTest.java

        void calculateMIC_success() throws Exception {
            byte[] data = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 8 };
            when(gssContext.getMIC(eq(data), eq(0), eq(3), any())).thenReturn(mic);
    
            byte[] res = ctx.calculateMIC(data);
            assertArrayEquals(mic, res);
            verify(gssContext, times(1)).getMIC(eq(data), eq(0), eq(3), any());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

    import jcifs.internal.util.SMBUtil;
    
    public class AvPairsTest {
    
        private byte[] createAvPairData(int avId, byte[] data) {
            byte[] result = new byte[4 + data.length];
            SMBUtil.writeInt2(avId, result, 0);
            SMBUtil.writeInt2(data.length, result, 2);
            System.arraycopy(data, 0, result, 4, data.length);
            return result;
        }
    
        private byte[] createEolData() {
            byte[] result = new byte[4];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                searchPaging(data, form);
            });
        }
    
        /**
         * Sets up search paging data for rendering the role list.
         *
         * @param data the render data to populate
         * @param form the search form containing current search criteria
         */
        protected void searchPaging(final RenderData data, final SearchForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. cmd/xl-storage-format-v2_test.go

    	}
    
    	// Remove entry
    	xl2.data.remove(fi.VersionID)
    	failOnErr(xl2.data.validate())
    	if xl2.data.find(fi.VersionID) != nil {
    		t.Fatal("Data was not removed:", xl2.data.find(fi.VersionID))
    	}
    	if xl2.data.entries() != 1 {
    		t.Fatal("want 1 entry, got", xl2.data.entries())
    	}
    	// Re-add
    	xl2.data.replace(fi.VersionID, fi.Data)
    	failOnErr(xl2.data.validate())
    	if xl2.data.entries() != 2 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Ascii.java

       * block of data for communication purposes. ETB is used for blocking data where the block
       * structure is not necessarily related to the processing format.
       *
       * @since 8.0
       */
      public static final byte ETB = 23;
    
      /**
       * Cancel: A control character used to indicate that the data with which it is sent is in error or
       * is to be disregarded.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/path-params.md

    So, with that type declaration, **FastAPI** gives you automatic request <dfn title="converting the string that comes from an HTTP request into Python data">"parsing"</dfn>.
    
    ///
    
    ## Data validation { #data-validation }
    
    But if you go to the browser at [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo), you will see a nice HTTP error of:
    
    ```JSON
    {
      "detail": [
        {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
Back to Top