Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 808 for encodes (0.78 seconds)

  1. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

            case null -> null;
            case String s -> s;
            case java.util.Date d -> toString(d, pattern);
            case Number n -> toString(n, pattern);
            case byte[] bytes -> Base64Util.encode(bytes);
            default -> value.toString();
            };
        }
    
        /**
         * Converts the given object to a string.
         *
         * @param value
         *            The object to convert
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/http/NtlmSsp.java

                if (src[8] == 1) {
                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(type1, challenge, null);
                    msg = Base64.encode(type2.toByteArray());
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                } else if (src[8] == 3) {
                    final Type3Message type3 = new Type3Message(src);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. docs/de/docs/advanced/middleware.md

    ## Andere Middlewares { #other-middlewares }
    
    Es gibt viele andere ASGI-Middlewares.
    
    Zum Beispiel:
    
    * [Uvicorns `ProxyHeadersMiddleware`](https://github.com/encode/uvicorn/blob/master/uvicorn/middleware/proxy_headers.py)
    * [MessagePack](https://github.com/florimondmanca/msgpack-asgi)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. internal/bucket/replication/rule.go

    	if d.IsEmpty() {
    		return errDeleteReplicationMissing
    	}
    	if d.Status != Disabled && d.Status != Enabled {
    		return errInvalidDeleteReplicationStatus
    	}
    	return nil
    }
    
    // UnmarshalXML - decodes XML data.
    func (d *DeleteReplication) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type deleteReplication DeleteReplication
    	drep := deleteReplication{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/stream-json-lines.md

    ### Dönüş Tipi Olmadan { #no-return-type }
    
    Dönüş tipini belirtmeyebilirsiniz de. Bu durumda FastAPI, veriyi JSON’a serileştirilebilir bir yapıya dönüştürmek için [`jsonable_encoder`](./encoder.md)’ı kullanır ve ardından JSON Lines olarak gönderir.
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[33:36] hl[34] *}
    
    ## Server-Sent Events (SSE) { #server-sent-events-sse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
    
                if (++mid == 32000) {
                    mid = 1;
                }
                NEGOTIATE_REQUEST.mid = mid;
                final int n = NEGOTIATE_REQUEST.encode(sbuf, 4);
                Encdec.enc_uint32be(n & 0xFFFF, sbuf, 0); /* 4 byte ssn msg header */
    
                if (LogStream.level >= 4) {
                    log.println(NEGOTIATE_REQUEST);
                    if (LogStream.level >= 6) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractRangeSet.java

        removeAll(other.asRanges());
      }
    
      @Override
      public boolean intersects(Range<C> otherRange) {
        return !subRangeSet(otherRange).isEmpty();
      }
    
      @Override
      public abstract boolean encloses(Range<C> otherRange);
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj == this) {
          return true;
        } else if (obj instanceof RangeSet) {
          RangeSet<?> other = (RangeSet<?>) obj;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. docs/ru/docs/advanced/middleware.md

    ## Другие middleware { #other-middlewares }
    
    Существует много других ASGI middleware.
    
    Например:
    
    - [`ProxyHeadersMiddleware` от Uvicorn](https://github.com/encode/uvicorn/blob/master/uvicorn/middleware/proxy_headers.py)
    - [MessagePack](https://github.com/florimondmanca/msgpack-asgi)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[27:30] hl[28] *}
    
    ### 반환 타입 생략 { #no-return-type }
    
    반환 타입을 생략할 수도 있습니다. 그러면 FastAPI가 [`jsonable_encoder`](./encoder.md)를 사용해 데이터를 JSON으로 직렬화 가능한 형태로 변환한 뒤 JSON Lines로 전송합니다.
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[33:36] hl[34] *}
    
    ## 서버 전송 이벤트(SSE) { #server-sent-events-sse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. tests/test_jsonable_encoder.py

    from enum import Enum
    from math import isinf, isnan
    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import TypedDict
    
    import pytest
    from fastapi._compat import Undefined
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import PydanticV1NotSupportedError
    from pydantic import BaseModel, Field, ValidationError
    
    
    class Person:
        def __init__(self, name: str):
            self.name = name
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.2K bytes
    - Click Count (0)
Back to Top