Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 588 for Encoder (0.12 sec)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

            if (value == null) {
                return this;
            }
            if (paramList == null) {
                paramList = new ArrayList<>();
            }
            paramList.add(encode(key) + "=" + encode(value));
            return this;
        }
    
        public CurlRequest header(final String key, final String value) {
            if (headerList == null) {
                headerList = new ArrayList<>();
            }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Interfaces, utilities, and simple implementations of escapers and encoders. The primary type is
     * {@link Escaper}.
     *
     * <p>Additional escapers implementations are found in the applicable packages: {@link
     * com.google.common.html.HtmlEscapers} in {@code com.google.common.html}, {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 21:41:47 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/386enc.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// Instructions that were encoded with BYTE sequences.
    	// Included to simplify validation of CL that fixed that.
    	MOVQ (AX), M0  // 0f6f00
    	MOVQ M0, 8(SP) // 0f7f442408
    	MOVQ 8(SP), M0 // 0f6f442408
    	MOVQ M0, (AX)  // 0f7f00
    	MOVQ M0, (BX)  // 0f7f03
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. docs_src/body_updates/tutorial001_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 900 bytes
    - Viewed (0)
  5. fastapi/exception_handlers.py

    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import RequestValidationError, WebSocketRequestValidationError
    from fastapi.utils import is_body_allowed_for_status_code
    from fastapi.websockets import WebSocket
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.status import HTTP_422_UNPROCESSABLE_ENTITY, WS_1008_POLICY_VIOLATION
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/Base64Util.java

            }
        }
    
        /**
         * Base64でエンコードします。
         *
         * @param inData
         *            エンコードするデータ
         * @return エンコードされたデータ
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
                return "";
            }
            final int mod = inData.length % 3;
            final int num = inData.length / 3;
            char[] outData = null;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py

    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize("compress", [True, False])
    def test_gzip_request(compress):
        n = 1000
        headers = {}
        body = [1] * n
        data = json.dumps(body).encode()
        if compress:
            data = gzip.compress(data)
            headers["Content-Encoding"] = "gzip"
        headers["Content-Type"] = "application/json"
        response = client.post("/sum", content=data, headers=headers)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 886 bytes
    - Viewed (0)
  8. internal/crypto/sse-s3.go

    		if err != nil {
    			return nil, err
    		}
    		keys = append(keys, key)
    	}
    	return keys, nil
    }
    
    // CreateMetadata encodes the sealed object key into the metadata and returns
    // the modified metadata. If the keyID and the kmsKey is not empty it encodes
    // both into the metadata as well. It allocates a new metadata map if metadata
    // is nil.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * that enqueued messages were not transmitted.
       */
      fun queueSize(): Long
    
      /**
       * Attempts to enqueue `text` to be UTF-8 encoded and sent as a the data of a text (type `0x1`)
       * message.
       *
       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. internal/logger/logrotate.go

    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    		}
    		if err := w.rotate(); err != nil {
    			msg := fmt.Sprintf("unable to rotate log file %v: %v", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top