Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 212 for encode (0.11 sec)

  1. android/guava/src/com/google/common/io/ReaderInputStream.java

            bufferSize);
      }
    
      /**
       * Creates a new input stream that will encode the characters from {@code reader} into bytes using
       * the given character set encoder.
       *
       * @param reader input source
       * @param encoder character set encoder used for encoding chars to bytes
       * @param bufferSize size of internal input and output buffers
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ReaderInputStream.java

            bufferSize);
      }
    
      /**
       * Creates a new input stream that will encode the characters from {@code reader} into bytes using
       * the given character set encoder.
       *
       * @param reader input source
       * @param encoder character set encoder used for encoding chars to bytes
       * @param bufferSize size of internal input and output buffers
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/BaseEncoding.java

          super(message);
        }
      }
    
      /** Encodes the specified byte array, and returns the encoded {@code String}. */
      public String encode(byte[] bytes) {
        return encode(bytes, 0, bytes.length);
      }
    
      /**
       * Encodes the specified range of the specified byte array, and returns the encoded {@code
       * String}.
       */
      public final String encode(byte[] bytes, int off, int len) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen_test.go

    	v := allTierStats{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeallTierStats Msgsize() is inaccurate")
    	}
    
    	vn := allTierStats{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    		if hasNUL(s) || (tooLong && !allowLongGNU) {
    			whyNoGNU = fmt.Sprintf("GNU cannot encode %s=%q", name, s)
    			format.mustNotBe(FormatGNU)
    		}
    		if !isASCII(s) || tooLong {
    			canSplitUSTAR := paxKey == paxPath
    			if _, _, ok := splitUSTARPath(s); !canSplitUSTAR || !ok {
    				whyNoUSTAR = fmt.Sprintf("USTAR cannot encode %s=%q", name, s)
    				format.mustNotBe(FormatUSTAR)
    			}
    			if paxKey == paxNone {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. internal/store/queuestore.go

    	enc := jsoniter.ConfigCompatibleWithStandardLibrary.NewEncoder(buf)
    
    	for i := range items {
    		if err = enc.Encode(items[i]); err != nil {
    			return err
    		}
    	}
    
    	path := filepath.Join(store.directory, key.String())
    	if key.Compress {
    		err = os.WriteFile(path, s2.Encode(nil, buf.Bytes()), os.FileMode(0o770))
    	} else {
    		err = os.WriteFile(path, buf.Bytes(), os.FileMode(0o770))
    	}
    
    	buf.Reset()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/websockets.md

    Se você precisa de algo fácil de integrar com o FastAPI, mas que seja mais robusto, suportado por Redis, PostgreSQL ou outros, verifique o <a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a>.
    
    ///
    
    ## Mais informações
    
    Para aprender mais sobre as opções, verifique a documentação do Starlette para:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. docs/ja/docs/advanced/websockets.md

    しかし、すべての接続がメモリ内の単一のリストで処理されるため、プロセスの実行中にのみ機能し、単一のプロセスでのみ機能することに注意してください。
    
    もしFastAPIと簡単に統合できて、RedisやPostgreSQLなどでサポートされている、より堅牢なものが必要なら、<a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a> を確認してください。
    
    ///
    
    ## その他のドキュメント
    
    オプションの詳細については、Starletteのドキュメントを確認してください。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    			// previous result back to the client
    			if prevResult.Version != "" {
    				if err := enc.Encode(prevResult); err != nil {
    					return
    				}
    			} else {
    				// first result is not yet obtained, keep writing
    				// empty entry to prevent client from disconnecting.
    				if err := enc.Encode(madmin.SpeedTestResult{}); err != nil {
    					return
    				}
    			}
    			w.(http.Flusher).Flush()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
      private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8));
      }
    
      private static void testDecodesByBytes(BaseEncoding encoding, String encoded, byte[] decoded) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top