Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 944 for nBytes (0.03 sec)

  1. docs/en/docs/tutorial/extra-data-types.md

            * In responses, the `set` will be converted to a `list`.
            * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`).
    * `bytes`:
        * Standard Python `bytes`.
        * In requests and responses will be treated as `str`.
        * The generated schema will specify that it's a `str` with `binary` "format".
    * `Decimal`:
        * Standard Python `Decimal`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/extra-data-types.md

            * En responses, el `set` se convertirá en una `list`.
            * El esquema generado especificará que los valores del `set` son únicos (usando `uniqueItems` de JSON Schema).
    * `bytes`:
        * `bytes` estándar de Python.
        * En requests y responses se tratará como `str`.
        * El esquema generado especificará que es un `str` con "binary" como "format".
    * `Decimal`:
        * `Decimal` estándar de Python.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/iam/access-manager-plugin.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 main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"strings"
    )
    
    var (
    	keyFile  string
    	certFile string
    )
    
    func init() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. docs/debugging/hash-set/main.go

    	id := uuid.MustParse(deploymentID)
    
    	if file != "" {
    		distrib := make([][]string, setCount)
    		b, err := os.ReadFile(file)
    		if err != nil {
    			log.Fatalln(err)
    		}
    		b = bytes.ReplaceAll(b, []byte("\r"), []byte{})
    		sc := bufio.NewScanner(bytes.NewBuffer(b))
    		for sc.Scan() {
    			object = strings.TrimSpace(sc.Text())
    			set := sipHashMod(prefix+object, setCount, id)
    			distrib[set] = append(distrib[set], prefix+object)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            int writeParameterWordsWireFormat(byte[] dst, int dstIndex) {
                paramWordsWritten = 10; // simulate write of 10 bytes of parameter words
                return paramWordsWritten;
            }
    
            @Override
            int writeBytesWireFormat(byte[] dst, int dstIndex) {
                bytesWritten = 20; // simulate 20 bytes of data
                return bytesWritten;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        @DisplayName("Happy path")
        class HappyPath {
    
            @Test
            @DisplayName("readDirect over SMB2 returns bytes read and uses current offset")
            void readDirectSmb2Happy() throws Exception {
                SmbFileInputStream in = newStream();
    
                // Arrange SMB2 response to return 3 bytes
                Smb2ReadResponse smb2Resp = mock(Smb2ReadResponse.class);
                when(smb2Resp.getDataLength()).thenReturn(3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then
            // SMB2_HEADER_LENGTH + 4 bytes for tree disconnect structure
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 4;
            // size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            for (i in 0 until length) {
              val line = source.readUtf8LineStrict()
              val bytes = Buffer()
              val certificateBytes = line.decodeBase64() ?: throw IOException("Corrupt certificate in cache entry")
              bytes.write(certificateBytes)
              result.add(certificateFactory.generateCertificate(bytes.inputStream()))
            }
            return result
          } catch (e: CertificateException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        @Test
        void testConstructorWithLongKey() throws NoSuchAlgorithmException {
            // Test constructor with a key longer than BLOCK_LENGTH (64 bytes)
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
                HMACT64 hmac = new HMACT64(LONG_TEST_KEY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Resources.java

       */
      public static CharSource asCharSource(URL url, Charset charset) {
        return asByteSource(url).asCharSource(charset);
      }
    
      /**
       * Reads all bytes from a URL into a byte array.
       *
       * @param url the URL to read from
       * @return a byte array containing all the bytes from the URL
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(URL url) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top