Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 629 for reencode (0.11 sec)

  1. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

      }
    
      enum class Encoding {
        IDENTITY {
          override fun encode(codePoint: Int): String {
            return String(codePoint)
          }
        },
        PERCENT {
          override fun encode(codePoint: Int): String {
            val utf8 = IDENTITY.encode(codePoint).encodeUtf8()
            val percentEncoded = Buffer()
            for (i in 0 until utf8.size) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/AbstractTablePageGenerator.java

                                div().classAttr("col-3");
                                    renderScenarioButtons(index, scenario);
                                    a().target("_blank").classAttr("btn btn-primary btn-sm").href("tests/" + urlEncode(PerformanceTestHistory.convertToId(scenario.getName()) + ".html")).text("Graph").end();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/encoding/asn1/marshal.go

    	Len() int
    	// Encode encodes this element by writing Len() bytes to dst.
    	Encode(dst []byte)
    }
    
    type byteEncoder byte
    
    func (c byteEncoder) Len() int {
    	return 1
    }
    
    func (c byteEncoder) Encode(dst []byte) {
    	dst[0] = byte(c)
    }
    
    type bytesEncoder []byte
    
    func (b bytesEncoder) Len() int {
    	return len(b)
    }
    
    func (b bytesEncoder) Encode(dst []byte) {
    	if copy(dst, b) != len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/package-info.java

     *  <p>A codec implementation will, generally:
     *  <ul>
     *      <li>encode the primitive/non-object values directly by invoking some of the various {@link org.gradle.internal.serialize.Encoder Encoder}'s <code>write*</code> variants</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ReaderInputStream.java

            }
            draining = false;
            Java8Compatibility.clear(byteBuffer);
          }
    
          while (true) {
            // We call encode until there is no more input. The last call to encode will have endOfInput
            // == true. Then there is a final call to flush.
            CoderResult result;
            if (doneFlushing) {
              result = CoderResult.UNDERFLOW;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ReaderInputStream.java

            }
            draining = false;
            Java8Compatibility.clear(byteBuffer);
          }
    
          while (true) {
            // We call encode until there is no more input. The last call to encode will have endOfInput
            // == true. Then there is a final call to flush.
            CoderResult result;
            if (doneFlushing) {
              result = CoderResult.UNDERFLOW;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. src/encoding/ascii85/ascii85.go

    package ascii85
    
    import (
    	"io"
    	"strconv"
    )
    
    /*
     * Encoder
     */
    
    // Encode encodes src into at most [MaxEncodedLen](len(src))
    // bytes of dst, returning the actual number of bytes written.
    //
    // The encoding handles 4-byte chunks, using a special encoding
    // for the last fragment, so Encode is not appropriate for use on
    // individual blocks of a large data stream. Use [NewEncoder] instead.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. docs_src/security/tutorial007.py

        current_username_bytes = credentials.username.encode("utf8")
        correct_username_bytes = b"stanleyjobson"
        is_correct_username = secrets.compare_digest(
            current_username_bytes, correct_username_bytes
        )
        current_password_bytes = credentials.password.encode("utf8")
        correct_password_bytes = b"swordfish"
        is_correct_password = secrets.compare_digest(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 14:33:05 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import okio.Buffer
    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/encoding/json/stream_test.go

    			enc := NewEncoder(&buf)
    			if err := enc.Encode(tt.v); err != nil {
    				t.Fatalf("%s: Encode(%s) error: %s", tt.Where, tt.Name, err)
    			}
    			if got := strings.TrimSpace(buf.String()); got != tt.wantEscape {
    				t.Errorf("%s: Encode(%s):\n\tgot:  %s\n\twant: %s", tt.Where, tt.Name, got, tt.wantEscape)
    			}
    			buf.Reset()
    			enc.SetEscapeHTML(false)
    			if err := enc.Encode(tt.v); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top