Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,293 for bytesB (0.13 sec)

  1. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testToArray_withConversion() {
        double[] array = {(double) 0, (double) 1, (double) 2};
    
        List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

       *
       * @since 15.0
       */
      public static CharSource empty() {
        return EmptyCharSource.INSTANCE;
      }
    
      /** A byte source that reads chars from this source and encodes them as bytes using a charset. */
      private final class AsByteSource extends ByteSource {
    
        final Charset charset;
    
        AsByteSource(Charset charset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      /**
       * @deprecated This method is dangerous as it discards the high byte of every character. For
       *     UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}.
       */
      @Deprecated
      @Override
      void writeBytes(String s);
    
      /** Returns the contents that have been written to this instance, as a byte array. */
      byte[] toByteArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

    import pytest
    from dirty_equals import IsDict, IsOneOf
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.security.tutorial005_an_py310 import app
    
        client = TestClient(app)
        return client
    
    
    def get_access_token(
        *, username="johndoe", password="secret", scope=None, client: TestClient
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            if ( this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY ) {
                dst[ dstIndex++ ] = this.maxSetupCount;
            }
            else {
                dst[ dstIndex++ ] = (byte) 0x00; // Reserved
            }
            dst[ dstIndex++ ] = (byte) 0x00; // Reserved
            dst[ dstIndex++ ] = (byte) 0x00; // Reserved
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2-legacy.go

    package cmd
    
    import (
    	"fmt"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // unmarshalV unmarshals with a specific header version.
    func (x *xlMetaV2VersionHeader) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    	switch v {
    	case 1:
    		return x.unmarshalV1(bts)
    	case 2:
    		x2 := xlMetaV2VersionHeaderV2{xlMetaV2VersionHeader: x}
    		return x2.UnmarshalMsg(bts)
    	case xlHeaderVersion:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/av/AvPairs.java

         * @return encoded avpairs
         */
        public static byte[] encode ( List<AvPair> pairs ) {
            int size = 0;
            for ( AvPair p : pairs ) {
                size += 4 + p.getRaw().length;
            }
            size += 4;
    
            byte[] enc = new byte[size];
            int pos = 0;
            for ( AvPair p : pairs ) {
                byte[] raw = p.getRaw();
                SMBUtil.writeInt2(p.getType(), enc, pos);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            if (command != SMB_COM_NT_TRANSACT_SECONDARY) {
                dst[dstIndex++] = maxSetupCount;
            } else {
                dst[dstIndex++] = (byte)0x00;          // Reserved
            }
            dst[dstIndex++] = (byte)0x00;          // Reserved
            dst[dstIndex++] = (byte)0x00;          // Reserved
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * 
         */
        public static final byte SMB_COM_QUERY_INFORMATION = (byte) 0x08;
    
        /**
         * 
         */
        public static final byte SMB_COM_SET_INFORMATION = (byte) 0x09;
    
        /**
         * 
         */
        public static final byte SMB_COM_WRITE = (byte) 0x0B;
    
        /**
         * 
         */
        public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
Back to top