Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,057 for Bytes (0.02 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            target.close();
            verify(fileHandle, atLeastOnce()).release();
        }
    
        @Test
        @DisplayName("getSessionKey fetches via tree->session and returns bytes")
        void testGetSessionKey() throws CIFSException {
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
            SmbSessionImpl session = mock(SmbSessionImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                    buffer[0] = 5; // Valid PDU version
                    buffer[1] = 0; // Valid PDU type
                    Encdec.enc_uint16le((short) 50, buffer, 8); // Fragment length
                    return 30; // Initial bytes received
                });
    
                // Mock second receive to complete fragment
                when(mockSmbPipeHandleInternal.recv(buf, 30, 20)).thenReturn(20);
    
                int result = handle.doReceiveFragment(buf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

          } else {
            threadToCancel!!.interrupt()
          }
          latch.countDown()
        }.apply { start() }
        return latch
      }
    
      companion object {
        // The size of the socket buffers in bytes.
        private const val SOCKET_BUFFER_SIZE = 256 * 1024
      }
    }
    
    class CancelModelParamProvider : SimpleProvider() {
      override fun arguments() =
        CancelTest.CancelMode.values().flatMap { c ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

            verify(this.mechContext, times(1)).initSecContext(cap.capture(), eq(0), eq(0));
            assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length");
        }
    
        @ParameterizedTest
        @ValueSource(bytes = { 0x00, 0x7F, (byte) 0xFF })
        @DisplayName("initSecContext throws on invalid token type")
        void testInitSecContextInvalidTokenType(byte firstByte) throws Exception {
            SpnegoContext ctx = newContext();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Hexdump.java

         * @param ps the PrintStream to write the hexdump output to
         * @param src the source byte array containing the data to dump
         * @param srcIndex the starting index in the source array
         * @param length the number of bytes to dump from the source array
         */
    
        public static void hexdump(final PrintStream ps, final byte[] src, final int srcIndex, final int length) {
            if (length == 0) {
                return;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. cmd/metacache-walk_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 *WalkDirOptions) Msgsize() (s int) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. docs/pt/docs/python-types.md

    ### Tipos simples
    
    Você pode declarar todos os tipos padrão de Python, não apenas `str`.
    
    Você pode usar, por exemplo:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005.py hl[1] *}
    
    ### Tipos genéricos com parâmetros de tipo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:32:53 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    	},
    	ErrInvalidCopyPartRange: {
    		Code:           "InvalidArgument",
    		Description:    "The x-amz-copy-source-range value must be of the form bytes=first-last where first and last are the zero-based offsets of the first and last bytes to copy",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCopyPartRangeSource: {
    		Code:           "InvalidArgument",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
  9. cmd/iam.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"
    	"encoding/base64"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"maps"
    	"math/rand"
    	"path"
    	"sort"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  10. docs/bn/docs/python-types.md

    ### সিম্পল টাইপ
    
    আপনি `str` ছাড়াও সমস্ত স্ট্যান্ডার্ড পাইথন টাইপ ঘোষণা করতে পারেন।
    
    উদাহরণস্বরূপ, আপনি এগুলো  ব্যবহার করতে পারেন:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005.py hl[1] *}
    
    
    ### টাইপ প্যারামিটার সহ জেনেরিক টাইপ
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top