Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 871 for fbytes (0.11 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            // Verify file ID
            byte[] actualFileId = new byte[16];
            System.arraycopy(buffer, 80, actualFileId, 0, 16);
            assertArrayEquals(newFileId, actualFileId);
    
            assertEquals(96, bytesWritten); // 32 bytes header + 64 bytes info
        }
    
        // Helper interface for testing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            securityDescriptorBytes[22] = 8; // ACL size (low byte)
            securityDescriptorBytes[23] = 0; // ACL size (high byte)
            securityDescriptorBytes[24] = 0; // ACE count (low byte) - 0 ACEs
            securityDescriptorBytes[25] = 0; // ACE count (high byte)
            securityDescriptorBytes[26] = 0; // sbz2 (low byte)
            securityDescriptorBytes[27] = 0; // sbz2 (high byte)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            byte[] dst = new byte[15]; // Increased buffer size to accommodate offset + 8 bytes
            int offset = 3; // start in the middle to ensure no tail is overwritten
            int bytesWritten = cmd.writeParametersWireFormat(dst, offset);
            assertEquals(8, bytesWritten, "writeParametersWireFormat should write 8 bytes");
    
            byte[] expected = expectedParameters(fid, securityInformation);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          sink.writeByte(accumulator.toInt())
        }
      }
    
      fun encodedLength(bytes: ByteString): Int {
        var bitCount = 0L
    
        for (i in 0 until bytes.size) {
          val byteIn = bytes[i] and 0xff
          bitCount += CODE_BIT_COUNTS[byteIn].toLong()
        }
    
        return ((bitCount + 7) shr 3).toInt() // Round up to an even byte.
      }
    
      fun decode(
        source: BufferedSource,
        byteCount: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // Write valid structure (16 bytes)
            SMBUtil.writeInt2(16, buffer, offset); // Structure size
            buffer[offset + 2] = (byte) 0x01; // Share type (DISK)
            buffer[offset + 3] = 0; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      @Throws(IOException::class)
      fun flushRequest()
    
      /** Flush the request to the underlying socket and signal no more bytes will be transmitted. */
      @Throws(IOException::class)
      fun finishRequest()
    
      /**
       * Parses bytes of a response header from an HTTP transport.
       *
       * @param expectContinue true to return null if this is an intermediate response with a "100"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. docs/sts/client-grants.go

    	}
    
    	u, err := url.Parse(stsEndpoint)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	clnt, err := minio.New(u.Host, opts)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	d := bytes.NewReader([]byte("Hello, World"))
    	n, err := clnt.PutObject(context.Background(), "my-bucketname", "my-objectname", d, d.Size(), minio.PutObjectOptions{})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/extra-data-types.md

            * Nas respostas, o `set` será convertido para uma `list`.
            * O esquema gerado vai especificar que os valores do `set` são unicos (usando o `uniqueItems` do JSON Schema).
    * `bytes`:
        * O `bytes` padrão do Python.
        * Em requisições e respostas será representado como uma `str`.
        * O esquema gerado vai especificar que é uma `str` com o "formato" `binary`.
    * `Decimal`:
        * O `Decimal` padrão do Python.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/spnego/NegTokenTarg.java

                final byte[] mechanismListMIC) {
            setResult(result);
            setMechanism(mechanism);
            setMechanismToken(mechanismToken);
            setMechanismListMIC(mechanismListMIC);
        }
    
        /**
         * Constructs a NegTokenTarg by parsing the provided token bytes
         * @param token the SPNEGO token bytes to parse
         * @throws IOException if parsing fails
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Check for null bytes
            if (str.indexOf('\0') != -1) {
                failedValidations.incrementAndGet();
                log.warn("{} contains null bytes", fieldName);
                throw new SmbException(fieldName + " contains null bytes");
            }
    
            // Check for control characters
            for (int i = 0; i < str.length(); i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top