Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 265 for 5006 (0.03 seconds)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(300, SMBUtil.readInt4(buffer, 16));
    
                // Verify second chunk
                assertEquals(400L, SMBUtil.readInt8(buffer, EXPECTED_SIZE));
                assertEquals(500L, SMBUtil.readInt8(buffer, EXPECTED_SIZE + 8));
                assertEquals(600, SMBUtil.readInt4(buffer, EXPECTED_SIZE + 16));
    
                // Verify third chunk
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/Configuration.java

         *
         * @return local bind address for netbios connections
         */
        InetAddress getNetbiosLocalAddress();
    
        /**
         *
         *
         * Property {@code jcifs.netbios.soTimeout} (int, default 5000)
         *
         * @return socket timeout for netbios connections, in milliseconds
         */
        int getNetbiosSoTimeout();
    
        /**
         * Gets the virtual circuit number for SMB connections
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] data = new byte[100];
                new Random().nextBytes(data);
                request.setData(data, 0, data.length);
                request.setOffset(1024L);
                request.setRemainingBytes(500);
                request.setWriteFlags(0x01);
    
                byte[] buffer = new byte[1024];
                int headerStart = 64; // Simulated header start
    
                // Execute
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            byte[] largeData = new byte[500];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            cos.write(largeData);
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(file.exists());
            assertEquals(500, file.length());
            cos.close();
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/CaseFormat.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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/SmbException.java

         */
        public long getRetryDelay() {
            switch (severity) {
            case RECOVERABLE:
                return 100; // Immediate retry with small delay
            case TRANSIENT:
                return 5000; // Wait 5 seconds
            default:
                return 0; // No retry
            }
        }
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

    /* jcifs msrpc client library in Java
     * Copyright (C) 2006  "Michael B. Allen" <jcifs at samba dot org>
     *                   "Eric Glass" <jcifs at samba dot org>
     *
     * 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.
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * second. This could be accomplished by requiring a permit per byte, and specifying a rate of 5000
     * permits per second:
     *
     * {@snippet :
     * final RateLimiter rateLimiter = RateLimiter.create(5000.0); // rate = 5000 permits per second
     * void submitPacket(byte[] packet) {
     *   rateLimiter.acquire(packet.length);
     *   networkService.send(packet);
     * }
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            }
            assertEqualsUsingSeed(seed, expected, elements);
          }
        }
      }
    
      public void testCorrectOrdering_mediumHeapsPollFirst() {
        for (int attempts = 0; attempts < reduceIterationsIfGwt(5000); attempts++) {
          int size = new Random().nextInt(256) + 16;
          ArrayList<Integer> elements = createOrderedList(size);
          List<Integer> expected = ImmutableList.copyOf(elements);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/witness/WitnessClient.java

    public class WitnessClient implements AutoCloseable {
        private static final Logger log = LoggerFactory.getLogger(WitnessClient.class);
    
        // Polling and backoff constants (in ms)
        private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds
        private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds
        private static final long BASE_POLL_INTERVAL = 1000;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
Back to Top