Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 717 for encoded (0.05 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. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import java.util.Map;
    import java.util.Map.Entry;
    
    import javax.net.ssl.HostnameVerifier;
    import javax.net.ssl.HttpsURLConnection;
    import javax.net.ssl.SSLSocketFactory;
    
    import org.bouncycastle.util.encoders.Base64;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.RuntimeCIFSException;
    import jcifs.ntlmssp.NtlmFlags;
    import jcifs.ntlmssp.NtlmMessage;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                assertEquals(0x001F01FF, response.getMaximalAccess(), "Should decode maximal access");
                assertTrue(response.isShareDfs(), "Should detect DFS from decoded data");
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidSize() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertNotNull(response);
            assertNull(response.getInfo()); // Should be null before decoding
        }
    
        @Test
        @DisplayName("Test getInfo returns decoded information")
        void testGetInfo() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
            // Use reflection to set the info field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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