Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 670 for encodes (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/erasure-heal_test.go

    		for i, disk := range disks {
    			writers[i] = newBitrotWriter(disk, "", "testbucket", "testobject", erasure.ShardFileSize(test.size), test.algorithm, erasure.ShardSize())
    		}
    		_, err = erasure.Encode(t.Context(), bytes.NewReader(data), writers, buffer, erasure.dataBlocks+1)
    		closeBitrotWriters(writers)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create random test data: %v", i, err)
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/custom-response.md

    ## JSONレスポンス { #json-responses }
    
    FastAPI はデフォルトでJSONレスポンスを返します。
    
    [レスポンスモデル](../tutorial/response-model.md) を宣言すると、FastAPI は Pydantic を使ってデータをJSONにシリアライズします。
    
    レスポンスモデルを宣言しない場合、FastAPI は [JSON Compatible Encoder](../tutorial/encoder.md) で説明した `jsonable_encoder` を使い、その結果を `JSONResponse` に入れます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

        }
      }
    
      /**
       * Reads a byte stream, which was written by {@linkplain #writeTo(OutputStream)}, into a {@code
       * BloomFilter}.
       *
       * <p>The {@code Funnel} to be used is not encoded in the stream, so it must be provided here.
       * <b>Warning:</b> the funnel provided <b>must</b> behave identically to the one used to populate
       * the original Bloom filter!
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  4. internal/logger/target/http/http.go

    					return
    				}
    			case <-ctx.Done():
    				return
    			}
    
    			if !tickered {
    				h.totalMessages.Add(1)
    				if !isDirQueue {
    					if err := enc.Encode(&entry); err != nil {
    						h.config.LogOnceIf(
    							ctx,
    							fmt.Errorf("unable to encode webhook log entry, err  '%w' entry: %v\n", err, entry),
    							h.Name(),
    						)
    						h.failedMessages.Add(1)
    						continue
    					}
    				} else {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/MIENameTest.java

            buf[i++] = (byte) (nameLen & 0xFF);
            // NAME
            System.arraycopy(nameBytes, 0, buf, i, nameLen);
            return buf;
        }
    
        // Provide a common OID for tests (Kerberos V5 mechanism OID encoded in DER)
        private static ASN1ObjectIdentifier testOid() {
            return new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
        }
    
        private static byte[] oidDer() {
            // Full DER encoding of the OID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

        for (i in CODE_BIT_COUNTS.indices) {
          addCode(i, CODES[i], CODE_BIT_COUNTS[i].toInt())
        }
      }
    
      @Throws(IOException::class)
      fun encode(
        source: ByteString,
        sink: BufferedSink,
      ) {
        var accumulator = 0L
        var accumulatorBitCount = 0
    
        for (i in 0 until source.size) {
          val symbol = source[i] and 0xff
          val code = CODES[symbol]
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/PercentEscaper.java

     * </ul>
     *
     * <p>For performance reasons the only currently supported character encoding of this class is
     * UTF-8.
     *
     * <p><b>Note:</b> This escaper produces <a
     * href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public final class PercentEscaper extends UnicodeEscaper {
    
      // In some escapers spaces are escaped to '+'
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  8. tests/benchmarks/test_general_performance.py

    
    def _expected_large_payload_json_bytes() -> bytes:
        return json.dumps(
            LARGE_PAYLOAD,
            ensure_ascii=False,
            allow_nan=False,
            separators=(",", ":"),
        ).encode("utf-8")
    
    
    def test_sync_return_large_dict_without_response_model(
        benchmark, client: TestClient
    ) -> None:
        status_code, body = _bench_get(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. internal/config/policy/opa/config.go

    	}
    
    	client := &http.Client{Transport: a.Transport}
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    	defer a.CloseRespFn(resp.Body)
    
    	return nil
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (a *Args) UnmarshalJSON(data []byte) error {
    	// subtype to avoid recursive call to UnmarshalJSON()
    	type subArgs Args
    	var so subArgs
    
    	if err := json.Unmarshal(data, &so); err != nil {
    		return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/FacetResponse.java

            /**
             * The decoded name of the field.
             */
            protected String name;
    
            /**
             * Constructs a Field from OpenSearch Terms aggregation.
             * Decodes the field name and processes all term buckets to extract
             * field values and their document counts.
             *
             * @param termFacet the OpenSearch Terms aggregation containing field facet data
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top