Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 715 for behaviour (0.06 sec)

  1. android/guava/src/com/google/common/collect/Queues.java

            buffer.add(e);
            added++;
          }
        }
        return added;
      }
    
      /**
       * Drains the queue as {@linkplain #drain(BlockingQueue, Collection, int, Duration)}, but with a
       * different behavior in case it is interrupted while waiting. In that case, the operation will
       * continue as usual, and in the end the thread's interruption status will be set (no {@code
       * InterruptedException} is thrown).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                int behavior = random.nextInt(4);
                if (behavior == 0) { // throw an exception
                  exceptionCount.incrementAndGet();
                  throw new RuntimeException("fake exception for test");
                } else if (behavior == 1) { // return null
                  computeNullCount.incrementAndGet();
                  return null;
                } else if (behavior == 2) { // slight delay before returning
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
      }
    
      static class SubClass extends SuperClass {
        @Override
        // We are testing how we treat an override with the same behavior and annotations.
        @SuppressWarnings("RedundantOverride")
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          super.overriddenInSubclassNowhereAnnotated(o);
        }
    
        @Subscribe
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. docs/throttle/README.md

    mc admin config set myminio/ api requests_max=1600
    mc admin service restart myminio/
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 1.5K bytes
    - Viewed (1)
  5. src/test/java/jcifs/smb/DfsReferralTest.java

        void testToString() {
            // Create a mock DfsReferralData object
            DfsReferralData mockData = mock(DfsReferralData.class);
            String expectedToString = "Mock DfsReferralData";
    
            // Define the behavior of the mock's toString() method
            when(mockData.toString()).thenReturn(expectedToString);
    
            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/xml/XmlEscapers.java

     * non-ASCII characters to their numeric entity replacements. These XML escapers provide the minimal
     * level of escaping to ensure that the output can be safely included in a Unicode XML document.
     *
     * <p>For details on the behavior of the escapers in this class, see sections <a
     * href="http://www.w3.org/TR/2008/REC-xml-20081126/#charsets">2.2</a> and <a
     * href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax">2.4</a> of the XML specification.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link BlockingQueue} which forwards all its method calls to another {@link BlockingQueue}.
     * Subclasses should override one or more methods to modify the behavior of the backing collection
     * as desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator
     * pattern</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        void testRapidCalls() {
            Instant[] instants = new Instant[1000];
            for (int i = 0; i < instants.length; i++) {
                instants[i] = MonotonicClock.now();
            }
    
            // Verify monotonic behavior across all measurements
            for (int i = 1; i < instants.length; i++) {
                assertTrue(
                        instants[i].compareTo(instants[i - 1]) >= 0,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/middleware.md

    app.add_middleware(MiddlewareB)
    ```
    
    This results in the following execution order:
    
    * **Request**: MiddlewareB → MiddlewareA → route
    
    * **Response**: route → MiddlewareA → MiddlewareB
    
    This stacking behavior ensures that middlewares are executed in a predictable and controllable order.
    
    ## Other middlewares { #other-middlewares }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CountingOutputStream.java

        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top