Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 3,312 for inst (0.02 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various tflags values")
            @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 })
            void testTflagsValues(int tflagsValue) {
                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @ParameterizedTest
            @ValueSource(ints = { 24, 32, 100, 1000, 10000 })
            @DisplayName("Should handle various buffer sizes correctly")
            void testVariousBufferSizes(int bufferSize) throws SMBProtocolDecodingException {
                byte[] buffer = new byte[bufferSize];
                FileFsSizeInformation info = new FileFsSizeInformation();
    
                int decoded = info.decode(buffer, 0, Math.min(bufferSize, 24));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        val pattern: String
    
        /** Either `sha1` or `sha256`. */
        val hashAlgorithm: String
    
        /** The hash of the pinned certificate using [hashAlgorithm]. */
        val hash: ByteString
    
        init {
          require(
            (pattern.startsWith("*.") && pattern.indexOf("*", 1) == -1) ||
              (pattern.startsWith("**.") && pattern.indexOf("*", 2) == -1) ||
              pattern.indexOf("*") == -1,
          ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        })
        void testGetTypeWithDifferentShareTypes(int inputType, int expectedType) {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, inputType, TEST_REMARK);
            assertEquals(expectedType, info.getType());
        }
    
        @Test
        @DisplayName("Test getType with hidden flag")
        void testGetTypeWithHiddenFlag() {
            // Hidden flag (0x80000000) should be masked out
            int hiddenPrinterType = 0x80000001; // Hidden printer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

          object : AbstractList<Protocol?>() {
            override val size: Int = 1
    
            override fun get(index: Int) = Protocol.HTTP_1_1
    
            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
            override fun indexOf(element: Protocol?): Int {
              if (element == null) throw NullPointerException()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  6. docs/auditlog/auditlog-echo.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    )
    
    var port int
    
    func init() {
    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

        }
    
        public void test_init() {
            DocumentHelper documentHelper = new DocumentHelper();
    
            try {
                documentHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_getTitle() {
            DocumentHelper documentHelper = new DocumentHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        void testDeriveKeys_DifferentSessionKeySizes() {
            // Test with various session key sizes
            int[] keySizes = { 8, 16, 24, 32, 64, 128 };
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            for (int size : keySizes) {
                // Given
                byte[] testKey = new byte[size];
                new SecureRandom().nextBytes(testKey);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Crypto.java

         * @return RC4 cipher in encryption mode
         */
        public static Cipher getArcfour(final byte[] key) {
            try {
                final Cipher c = Cipher.getInstance("RC4");
                c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4"));
                return c;
            } catch (NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException e) {
                throw new CIFSUnsupportedCryptoException(e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top