Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 1,459 for BytesX (0.04 seconds)

  1. docs/fr/docs/advanced/custom-response.md

    La classe principale `Response`, toutes les autres réponses en héritent.
    
    Vous pouvez la renvoyer directement.
    
    Elle accepte les paramètres suivants :
    
    - `content` - Une `str` ou des `bytes`.
    - `status_code` - Un code d'état HTTP de type `int`.
    - `headers` - Un `dict` de chaînes.
    - `media_type` - Une `str` donnant le media type. Par exemple « text/html ».
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

        }
    
        String getSha1(File file) throws IOException, NoSuchAlgorithmException {
            byte[] bytes = Files.readAllBytes(file.toPath());
    
            MessageDigest digest = MessageDigest.getInstance("SHA-1");
            char[] encoded = Hex.encodeHex(digest.digest(bytes));
            return String.copyValueOf(encoded);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                public String getAppCipherAlgorithm() {
                    return "AES";
                }
    
                @Override
                public String getAppCipherKey() {
                    return "1234567890123456"; // 16 bytes for AES
                }
            });
    
            // Create test cipher - use proper constructor with simple implementation
            InvertibleCryptographer cookieCipher = new InvertibleCryptographer("AES", "1234567890123456", null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

         *
         * @param dst the destination byte array to write to
         * @param dstIndex the starting index in the destination array
         * @return the number of bytes written
         */
        public int writeWireFormat(final byte[] dst, final int dstIndex) {
            length = writeTrailerWireFormat(dst, dstIndex + HEADER_LENGTH);
            writeHeaderWireFormat(dst, dstIndex);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

            encodeWitnessParameters(buf);
        }
    
        @Override
        public void decode_out(NdrBuffer buf) throws NdrException {
            decodeWitnessParameters(buf);
            // The return code is always the last 4 bytes in MS-SWN responses
            returnCode = buf.dec_ndr_long();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. internal/config/identity/plugin/config.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package plugin
    
    import (
    	"bytes"
    	"context"
    	"crypto/sha1"
    	"encoding/base64"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"regexp"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/arn"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Read bytes from the input stream into a buffer
         *
         * @param in the input stream to read from
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the number of bytes to read
         * @return number of bytes read
         * @throws IOException if an I/O error occurs
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  8. cmd/bootstrap-peer-server_gen.go

    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *ServerSystemConfig) Msgsize() (s int) {
    	s = 1 + 11 + msgp.IntSize + 9 + msgp.ArrayHeaderSize
    	for za0001 := range z.CmdLines {
    		s += msgp.StringPrefixSize + len(z.CmdLines[za0001])
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. cmd/batch-handlers_gen.go

    		(*z)[zb0001], bts, err = msgp.ReadStringBytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, zb0001)
    			return
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BatchJobPrefix) Msgsize() (s int) {
    	s = msgp.ArrayHeaderSize
    	for zb0003 := range z {
    		s += msgp.StringPrefixSize + len(z[zb0003])
    	}
    	return
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/response-directly.md

    When using a `response_model` or return type, FastAPI won't use the `jsonable_encoder` to convert the data (which would be slower) nor the `JSONResponse` class.
    
    Instead it takes the JSON bytes generated with Pydantic using the response model (or return type) and returns a `Response` with the right media type for JSON directly (`application/json`).
    
    ## Notes { #notes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top