Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 715 for behaviour (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          // RealRoutePlanner will add the connection to the pool itself, other RoutePlanners may not
          // TODO: make all RoutePlanners consistent in this behavior
          if (connection !in connections) {
            connection.withLock { put(connection) }
          }
    
          return 0L // run again immediately to create more connections if needed
        } catch (e: IOException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Strings.java

        if (o == null) {
          return "null";
        }
        try {
          return o.toString();
        } catch (Exception e) { // sneaky checked exception
          // Default toString() behavior - see Object.toString()
          String objectToString =
              o.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(o));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

       * implemented in terms of that method (though they will likely be overridden by subclasses for
       * performance reasons).) This means that a call to this method have can different behavior in GWT
       * and non-GWT environments UNLESS subclasses are careful to always override all methods
       * implemented in terms of sortedDelegate (except comparator()).
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

            // Create the transport with safe defaults (no real sockets)
            transport = new SmbTransportImpl(ctx, address, 445, null, 0, false);
    
            // Reset MID to a known starting point for deterministic behavior
            setField(transport, "mid", new AtomicLong());
        }
    
        // Utility: reflectively set a private/protected field (searches up the hierarchy)
        private static void setField(Object target, String name, Object value) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. cmd/local-locker.go

    )
    
    // Reject new lock requests immediately when this many are queued
    // for the local lock mutex.
    // We do not block unlocking or maintenance, but they add to the count.
    // The limit is set to allow for bursty behavior,
    // but prevent requests to overload the server completely.
    // Rejected clients are expected to retry.
    const lockMutexWaitLimit = 1000
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Removes, from an iterable, every element that satisfies the provided predicate.
       *
       * <p>Removals may or may not happen immediately as each element is tested against the predicate.
       * The behavior of this method is not specified if {@code predicate} is dependent on {@code
       * removeFrom}.
       *
       * <p><b>Java 8+ users:</b> if {@code removeFrom} is a {@link Collection}, use {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteStreams.java

          long skipped = in.skip(n);
          left -= skipped;
          return skipped;
        }
      }
    
      /**
       * Attempts to read enough bytes from the stream to fill the given byte array, with the same
       * behavior as {@link DataInput#readFully(byte[])}. Does not close the stream.
       *
       * @param in the input stream to read from.
       * @param b the buffer into which the data is read.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals(16, serverData.guid.length);
        }
    
        /**
         * Test that modifying the original array affects the field (reference test)
         */
        @Test
        @DisplayName("Test byte array reference behavior")
        public void testByteArrayReference() {
            // Given
            byte[] originalKey = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            serverData.encryptionKey = originalKey;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

                long skipped = sis.skip(10);
                // If it doesn't throw, it should only skip what's available
                assertEquals(3, skipped);
            } catch (IOException e) {
                // This is also acceptable behavior - skip may fail when it runs out of data
                assertTrue(e.getMessage().contains("unexpected EOF"));
            }
        }
    
        @Test
        @DisplayName("Keep-alive packets are transparently skipped")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 scheduled after 100 µs: task one",
          "FINE: Q10000 scheduled after 200 µs: task two",
        )
      }
    
      /**
       * We don't track the active task in scheduled tasks. This behavior might be a mistake, but it's
       * cumbersome to implement properly because the active task might be a cancel.
       */
      @Test fun scheduledTasksDoesNotIncludeRunningTask() {
        val task =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top