Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 589 for encodeTo (0.13 sec)

  1. docs/ru/docs/alternatives.md

    Hug вдохновил **FastAPI** объявить параметр `ответа` в функциях для установки заголовков и куки.
    
    ///
    
    ### <a href="https://github.com/encode/apistar" class="external-link" target="_blank">APIStar</a> (<= 0.5)
    
    Непосредственно перед тем, как принять решение о создании **FastAPI**, я обнаружил **APIStar**.
    В нем было почти все, что я искал и у него был отличный дизайн.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  2. cmd/object-api-utils_test.go

    			}
    			err = w.Close()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			var (
    				got  = rdrBuf.Bytes()
    				want = stdBuf.Bytes()
    			)
    			if !bytes.Equal(got, want) {
    				t.Errorf("encoded data does not match\n\t%q\n\t%q", got, want)
    			}
    
    			var decBuf bytes.Buffer
    			decRdr := s2.NewReader(&rdrBuf)
    			_, err = io.Copy(&decBuf, decRdr)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. cmd/kms-handlers_test.go

    	if len(query) > 0 {
    		queryVal := url.Values{}
    		for k, v := range query {
    			queryVal.Add(k, v)
    		}
    		path = path + "?" + queryVal.Encode()
    	}
    
    	if accessKey == "" && secretKey == "" {
    		accessKey = globalActiveCred.AccessKey
    		secretKey = globalActiveCred.SecretKey
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            final String authUrl = getAuthority() + getTenant()
                    + "/oauth2/authorize?response_type=code&scope=directory.read.all&response_mode=form_post&redirect_uri="
                    + URLEncoder.encode(getReplyUrl(request), Constants.UTF_8_CHARSET) + "&client_id=" + getClientId()
                    + "&resource=https%3a%2f%2fgraph.microsoft.com" + "&state=" + state + "&nonce=" + nonce;
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                    if (CharUtil.isUrlChar(c) || c == '^' || c == '{' || c == '}' || c == '|' || c == '\\') {
                        buf.append(c);
                    } else {
                        buf.append(URLEncoder.encode(String.valueOf(c), filterPathEncoding));
                    }
                }
                return buf.toString();
            } catch (final UnsupportedEncodingException e) {
                return path;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    		t.Errorf("Modified: got %s, want %s\n", got, want)
    	}
    }
    
    type repeatedByte struct {
    	off int64
    	b   byte
    	n   int64
    }
    
    // rleBuffer is a run-length-encoded byte buffer.
    // It's an io.Writer (like a bytes.Buffer) and also an io.ReaderAt,
    // allowing random-access reads.
    type rleBuffer struct {
    	buf []repeatedByte
    }
    
    func (r *rleBuffer) Size() int64 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/bytes/buffer.go

    		// Buffer is empty, reset to recover space.
    		b.Reset()
    		return 0, io.EOF
    	}
    	c := b.buf[b.off]
    	b.off++
    	b.lastRead = opRead
    	return c, nil
    }
    
    // ReadRune reads and returns the next UTF-8-encoded
    // Unicode code point from the buffer.
    // If no bytes are available, the error returned is io.EOF.
    // If the bytes are an erroneous UTF-8 encoding, it
    // consumes one byte and returns U+FFFD, 1.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]})
    		if err == nil {
    			toEncode = ra
    			defer ra.Close()
    		}
    	}
    
    	n, err := erasure.Encode(ctx, toEncode, writers, buffer, writeQuorum)
    	closeBitrotWriters(writers)
    	if err != nil {
    		return pi, toObjectErr(err, bucket, object)
    	}
    
    	// Should return IncompleteBody{} error when reader has fewer bytes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arch.go

    			instructions[s] = obj.As(i) + obj.ABaseARM
    		}
    	}
    	// Annoying aliases.
    	instructions["B"] = obj.AJMP
    	instructions["BL"] = obj.ACALL
    	// MCR differs from MRC by the way fields of the word are encoded.
    	// (Details in arm.go). Here we add the instruction so parse will find
    	// it, but give it an opcode number known only to us.
    	instructions["MCR"] = aMCR
    
    	return &Arch{
    		LinkArch:       &arm.Linkarm,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v2/generated.proto

    }
    
    // MetricIdentifier defines the name and optionally selector for a metric
    message MetricIdentifier {
      // name is the name of the given metric
      optional string name = 1;
    
      // selector is the string-encoded form of a standard kubernetes label selector for the given metric
      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top