Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 3,007 for int8 (0.11 sec)

  1. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        joinHelper(1, 1, 1, 1, 1, 1, 1, 1);
        joinHelper(1, 0, 1, 0, 1, 0, 1, 0);
      }
    
      public void testOnlyOneOpen() throws Exception {
        ByteSource source = newByteSource(0, 50);
        int[] counter = new int[1];
        ByteSource checker =
            new ByteSource() {
              @Override
              public InputStream openStream() throws IOException {
                if (counter[0]++ != 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        @Test
        public void testPerformance() throws Exception {
            for (int j = 0; j < 3; ++j) {
                final int num = 100000;
                final Map<String, String> hmap = new HashMap<String, String>();
                final Map<String, String> cimap = new CaseInsensitiveMap<String>();
    
                long start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
                    hmap.put("a" + String.valueOf(i), null);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Queues.java

      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static <E> int drainUninterruptibly(
          BlockingQueue<E> q,
          Collection<? super E> buffer,
          int numElements,
          long timeout,
          TimeUnit unit) {
        Preconditions.checkNotNull(buffer);
        long deadline = System.nanoTime() + unit.toNanos(timeout);
        int added = 0;
        boolean interrupted = false;
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            ptypeField.setAccessible(true);
            int ptypeValue = (int) ptypeField.get(request);
            assertEquals(0, ptypeValue, "The 'ptype' field should be initialized to 0.");
    
            Field flagsField = DcerpcMessage.class.getDeclaredField("flags");
            flagsField.setAccessible(true);
            int flagsValue = (int) flagsField.get(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            // This method is expected to do nothing and return 0
            int result = smbComQueryInformation.writeParameterWordsWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testWriteBytesWireFormat() {
            // Test the writing of bytes to a byte array
            byte[] dst = new byte[100];
            int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbOperationException.java

                    return false;
                }
    
                return true;
            }
    
            public long getDelayMs(int attemptNumber) {
                if (!exponentialBackoff) {
                    return initialDelayMs;
                }
    
                long delay = initialDelayMs;
                for (int i = 1; i < attemptNumber; i++) {
                    delay = (long) (delay * backoffMultiplier);
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        private static final int WITNESS_INTERFACE_VERSION = 1;
    
        // RPC connection parameters
        private static final int WITNESS_RPC_PORT = 135;
        private static final int WITNESS_RPC_TIMEOUT_MS = 5000;
    
        // RPC operation numbers
        private static final int WITNESS_REGISTER = 0;
        private static final int WITNESS_UNREGISTER = 1;
        private static final int WITNESS_ASYNC_NOTIFY = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutTask.java

     *
     */
    public class TimeoutTask {
    
        private static final int ACTIVE = 0;
    
        private static final int STOPPED = 1;
    
        private static final int CANCELED = 2;
    
        private final TimeoutTarget timeoutTarget;
    
        private final long timeoutMillis;
    
        private final boolean permanent;
    
        private long startTime;
    
        private int status = ACTIVE;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

         * Directory Read and Handle caching (RH) - recommended for directory operations
         */
        public static final int DIRECTORY_READ_HANDLE = Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING;
    
        /**
         * Directory Full caching (RWH) - all three lease types
         */
        public static final int DIRECTORY_FULL = Smb2LeaseState.SMB2_LEASE_FULL;
    
        /**
         * Check if directory can cache enumeration results
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbTransportPool.java

         * @param exclusive
         *            whether to acquire an unshared connection
         * @return a transport connection to the target
         */
        SmbTransport getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName,
                boolean exclusive);
    
        /**
         * Gets or creates an SMB transport for the given context.
         *
         * @param tc
         *            context to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top