Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 349 for 2046 (0.01 sec)

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

        void testReadBytesWireFormatLargeBufferOffset() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
            byte[] buffer = new byte[2048];
            int bufferIndex = 100;
    
            // Set structure size to 9
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Set large buffer offset
            SMBUtil.writeInt2(1000, buffer, bufferIndex + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

        /** Account control bit flag: Account is auto-locked */
        public static final int ACB_AUTOLOCK = 1024;
        /** Account control bit flag: Encrypted text password is allowed */
        public static final int ACB_ENC_TXT_PWD_ALLOWED = 2048;
        /** Account control bit flag: Smart card is required for login */
        public static final int ACB_SMARTCARD_REQUIRED = 4096;
        /** Account control bit flag: Account is trusted for delegation */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    	"path"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    )
    
    func adbRun(args string) (int, error) {
    	// The exit code of adb is often wrong. In theory it was fixed in 2016
    	// (https://code.google.com/p/android/issues/detail?id=3254), but it's
    	// still broken on our builders in 2023. Instead, append the exitcode to
    	// the output and parse it from there.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

    /*
     * Copyright (C) 2006 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
     * in compliance with the License. You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software distributed under the License
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            Smb2SessionSetupRequest req =
                    new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, token);
            byte[] buffer = new byte[2048];
    
            // When
            req.encode(buffer, 0);
    
            // Then
            int bodyOffset = Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Verify token length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/DelegatingConfiguration.java

    /*
     * © 2016 AgNO3 Gmbh & Co. KG
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(encodeSize);
    
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[2048];
            int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);
    
            // Should write encoded data + 6 bytes padding
            assertEquals(encodeSize + 6, written);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

    /*
     * Copyright (C) 2016 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    	}{
    		{
    			name:    "small store w desc",
    			content: []byte("gophers"),
    			method:  Store,
    			flags:   0x8,
    		},
    		{
    			name:    "small deflate wo desc",
    			content: bytes.Repeat([]byte("abcdefg"), 2048),
    			method:  Deflate,
    		},
    	}
    
    	// write a zip file
    	archive := new(bytes.Buffer)
    	w := NewWriter(archive)
    
    	for i := range files {
    		f := &files[i]
    		f.crc32 = crc32.ChecksumIEEE(f.content)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top