Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 664 for encoder (0.04 sec)

  1. cmd/metrics-v2.go

    		}
    
    		contentType := expfmt.Negotiate(r.Header)
    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  2. doc/godebug.md

    Go 1.24 also removed X25519Kyber768Draft00 and the Go 1.23 `tlskyber` setting.
    
    Go 1.24 made [`ParsePKCS1PrivateKey`](/pkg/crypto/x509/#ParsePKCS1PrivateKey)
    use and validate the CRT parameters in the encoded private key. This behavior
    can be controlled with the `x509rsacrt` setting. Using `x509rsacrt=0` restores
    the Go 1.23 behavior.
    
    ### Go 1.23
    
    Go 1.23 changed the channels created by package time to be unbuffered
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertWithMessage("Mixed hex case")
            .that(Longs.tryParse("ffFF", 16).longValue())
            .isEqualTo(65535);
      }
    
      /**
       * Encodes the long as a string with given radix, then uses {@link Longs#tryParse(String, int)} to
       * parse the result. Asserts the result is the same as what we started with.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  4. docs/en/docs/alternatives.md

    Hug inspired **FastAPI** to declare a `response` parameter in functions to set headers and cookies.
    
    ///
    
    ### <a href="https://github.com/encode/apistar" class="external-link" target="_blank">APIStar</a> (<= 0.5) { #apistar-0-5 }
    
    Right before deciding to build **FastAPI** I found **APIStar** server. It had almost everything I was looking for and had a great design.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. cmd/post-policy_test.go

    	if err != nil {
    		t.Error("Unexpected error: ", err)
    	}
    
    	v := redirectURL.Query()
    	v.Add("bucket", info.Bucket)
    	v.Add("key", info.Name)
    	v.Add("etag", "\""+info.ETag+"\"")
    	redirectURL.RawQuery = v.Encode()
    	expectedLocation := redirectURL.String()
    
    	// Check the new location url
    	if rec.Header().Get("Location") != expectedLocation {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    	for name, p := range policies {
    		_, err = json.Marshal(p)
    		if err != nil {
    			adminLogIf(ctx, err)
    			continue
    		}
    		newPolicies[name] = p
    	}
    	if err = json.NewEncoder(w).Encode(newPolicies); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    // ListCannedPolicies - GET /minio/admin/v3/list-canned-policies
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    	vectors := []struct {
    		header  *Header           // Input header
    		paxHdrs map[string]string // Expected PAX headers that may be needed
    		formats Format            // Expected formats that can encode the header
    	}{{
    		header:  &Header{},
    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{Size: 077777777777},
    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

                if (len++ > max) {
                    throw new RuntimeCIFSException("zero termination not found: " + this);
                }
            }
            return len;
        }
    
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = this.headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        }
        assertWithMessage("Hex string and dec parm").that(Ints.tryParse("FFFF", 10)).isNull();
        assertWithMessage("Mixed hex case").that((int) Ints.tryParse("ffFF", 16)).isEqualTo(65535);
      }
    
      /**
       * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)}
       * to parse the result. Asserts the result is the same as what we started with.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  10. docs/pt/docs/alternatives.md

    Hug inspirou **FastAPI** a declarar um parâmetro de `resposta` em funções para definir cabeçalhos e cookies.
    
    ///
    
    ### <a href="https://github.com/encode/apistar" class="external-link" target="_blank">APIStar</a> (<= 0.5)
    
    Antes de decidir construir **FastAPI** eu encontrei o servidor **APIStar**. Tinha quase tudo que eu estava procurando e tinha um grande projeto.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top