Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 944 for nBytes (0.04 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

                }
            }
    
            return key;
        }
    
        /**
         * Get raw key bytes
         *
         * @param sessionId unique session identifier
         * @return raw key bytes, or null if not found
         */
        public byte[] getRawKey(String sessionId) {
            checkNotClosed();
    
            byte[] key = rawKeys.get(sessionId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTester.java

      static TestSuite suiteForBytes(
          CharSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) {
        TestSuite suite = suiteForString(factory, new String(bytes, UTF_8), name, desc);
        ByteSourceFactory byteSourceFactory = SourceSinkFactories.asByteSourceFactory(factory);
        suite.addTest(
            ByteSourceTester.suiteForBytes(
                byteSourceFactory, bytes, name + ".asByteSource[Charset]", desc, slice));
        return suite;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

            }
    
            this.timeout100Ns = SMBUtil.readInt4(buffer, bufferIndex) & 0xFFFFFFFFL; // Timeout (4 bytes, 100-ns intervals, unsigned)
            this.flags = SMBUtil.readInt4(buffer, bufferIndex + 4); // Flags (4 bytes)
            return 8;
        }
    
        /**
         * Get the timeout value in 100-nanosecond intervals (raw wire format)
         * @return the timeout in 100-nanosecond intervals
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]);
    
            // Verify remaining bytes are zeros
            for (int i = 4; i < 24; i++) {
                assertEquals((byte) 0x00, SMBUtil.SMB_HEADER[i]);
            }
        }
    
        @Test
        void testSMB2Header() {
            assertNotNull(SMBUtil.SMB2_HEADER);
            // The actual header is 68 bytes (4 + 2 + 2 + 2 + 2 + 4 + 2 + 2 + 4 + 4 + 8 + 4 + 4 + 8 + 8 + 8 = 68)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. cmd/object-lambda-handlers_test.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 cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/sha256"
    	"encoding/hex"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"strconv"
    	"testing"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/signer"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

    public class KerberosTicket {
    
        private String serverPrincipalName;
        private String serverRealm;
        private KerberosEncData encData;
    
        /**
         * Constructs a KerberosTicket from token bytes.
         *
         * @param token the ticket token bytes
         * @param apOptions AP options flags
         * @param keys array of Kerberos keys for decryption
         * @throws PACDecodingException if ticket decoding fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            reader.read("ANY") { header ->
              val bytes = reader.readUnknown()
              return AnyValue(
                tagClass = header.tagClass,
                tag = header.tag,
                constructed = header.constructed,
                length = header.length,
                bytes = bytes,
              )
            }
          }
    
          override fun toDer(
            writer: DerWriter,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacTest.java

            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testTooSmallPac() {
            // Test that PAC smaller than 8 bytes is rejected
            byte[] smallData = new byte[4];
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(smallData, keys));
            // Any PACDecodingException is acceptable for this test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Takes some text or bytes and returns a plain text response.
    
    {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *}
    
    ### `JSONResponse` { #jsonresponse }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

         * @param fileId the 16-byte file ID from the previous open
         */
        public DurableHandleReconnect(byte[] fileId) {
            if (fileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
            }
            this.fileId = Arrays.copyOf(fileId, 16);
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Get the file ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top