Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 808 for encodes (0.05 seconds)

  1. src/test/java/jcifs/internal/NotifyResponseTest.java

            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Mock implementation
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // Mock implementation
                return 0;
            }
    
            @Override
            public void setDigest(SMBSigningDigest digest) {
                this.digest = digest;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            pairs.add(new AvTimestamp(System.currentTimeMillis()));
            pairs.add(new AvFlags(0));
            pairs.add(new AvSingleHost(new byte[48])); // Dummy single host data
    
            type2.setTargetInformation(AvPairs.encode(pairs));
    
            return type2;
        }
    
        /**
         * Helper method to create a mock context with specific LanMan compatibility level
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/HashFunction.java

      /**
       * Shortcut for {@code newHasher().putString(input, charset).hash()}. Characters are encoded using
       * the given {@link Charset}. The implementation <i>might</i> perform better than its longhand
       * equivalent, but should not perform worse.
       *
       * <p><b>Warning:</b> This method, which reencodes the input before hashing it, is useful only for
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/custom-response.md

    Se você não declarar um modelo de resposta, o FastAPI usará o `jsonable_encoder` explicado em [Codificador Compatível com JSON](../tutorial/encoder.md) e o colocará em uma `JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. fastapi/openapi/models.py

        format: str | None = None
        # Ref: JSON Schema Validation 2020-12: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-a-vocabulary-for-the-conten
        # A Vocabulary for the Contents of String-Encoded Data
        contentEncoding: str | None = None
        contentMediaType: str | None = None
        contentSchema: Optional["SchemaOrBool"] = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  6. cmd/admin-bucket-handlers.go

    		return
    	}
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case entry, ok := <-diffCh:
    			if !ok {
    				return
    			}
    			if err := enc.Encode(entry); err != nil {
    				return
    			}
    			if len(diffCh) == 0 {
    				// Flush if nothing is queued
    				xhttp.Flush(w)
    			}
    		case <-keepAliveTicker.C:
    			if len(diffCh) > 0 {
    				continue
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  7. internal/store/queuestore_test.go

    		})
    	}
    
    	buf := bytebufferpool.Get()
    	defer bytebufferpool.Put(buf)
    
    	enc := jsoniter.ConfigCompatibleWithStandardLibrary.NewEncoder(buf)
    	for i := range items {
    		if err = enc.Encode(items[i]); err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	if _, err := store.PutMultiple(items); err != nil {
    		t.Fatalf("failed to put multiple; %v", err)
    	}
    
    	keys := store.List()
    	if len(keys) != 1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                if (len++ > max) {
                    throw new RuntimeException("zero termination not found: " + this);
                }
            }
            return len;
        }
    
        int encode(final byte[] dst, int dstIndex) {
            final int start = headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
            wordCount = writeParameterWordsWireFormat(dst, dstIndex + 1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle various result codes correctly")
            void testVariousResultCodes() throws Exception {
                // Test all known result codes
                int[] validCodes = { 0, 1, 2, 3 };
                String[] expectedMessages = { null, // 0 returns null (no exception)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. internal/rest/client.go

    	// client is still connected, attempt the request.
    
    	// Shallow copy. We don't modify the *UserInfo, if set.
    	// All other fields are copied.
    	u := *c.url
    	u.Path = path.Join(u.Path, rpcMethod)
    	u.RawQuery = values.Encode()
    
    	req, err := c.newRequest(ctx, httpMethod, u, body)
    	if err != nil {
    		return nil, &NetworkError{Err: err}
    	}
    	if length > 0 {
    		req.ContentLength = length
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
Back to Top