Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 701 for Behavior (1.28 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo('a'.code)
        try {
          val byteRead = inputStream.read()
          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. src/builtin/builtin.go

    // untyped nil causes a run-time error (a different panic).
    // The GODEBUG setting panicnil=1 disables the run-time error.
    func panic(v any)
    
    // The recover built-in function allows a program to manage behavior of a
    // panicking goroutine. Executing a call to recover inside a deferred
    // function (but not any function called by it) stops the panicking sequence
    // by restoring normal execution and retrieves the error value passed to the
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Method method = MethodAnnotatedClass.class.getMethod("nonAnnotatedMethod");
            Secured secured = method.getAnnotation(Secured.class);
            assertNull(secured);
        }
    
        // Test inheritance behavior
        @Secured({ "ROLE_PARENT" })
        static class ParentClass {
            @Secured({ "ROLE_PARENT_METHOD" })
            public void parentMethod() {
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeSet.java

     * rangeSet.add(Range.openClosed(0, 0)); // empty range; {[1, 10], [11, 20)}
     * rangeSet.remove(Range.open(5, 10)); // splits [1, 10]; {[1, 5], [10, 10], [11, 20)}
     * }
     *
     * <p>Note that the behavior of {@link Range#isEmpty()} and {@link Range#isConnected(Range)} may not
     * be as expected on discrete ranges. See the Javadoc of those methods for details.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedLists.java

         *
         * <p>Note that the return value will be {@code >= 0} if and only if there is an element of the
         * list that compares as equal to the key.
         *
         * <p>This is equivalent to the behavior of {@link java.util.Collections#binarySearch(List,
         * Object)} when the key isn't present, since {@code ~insertionIndex} is equal to {@code -1 -
         * insertionIndex}.
         */
        INVERTED_INSERTION_INDEX {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        void constructorNullResourceLoc() {
            // Null resourceLoc doesn't throw NPE immediately - it's stored and may cause issues when used
            // This test documents the current behavior
            SmbTreeConnection freshConnection = mock(SmbTreeConnection.class);
            when(freshConnection.acquire()).thenReturn(freshConnection);
    
            // Should not throw NPE during construction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        }
    
        // #app_customize you can customize the action hook
        /**
         * Hook method called before action processing.
         * This method can be overridden by subclasses to customize behavior.
         *
         * @param runtime the action runtime context
         * @return the action response, or null to continue with normal processing
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                CollectionFeature.SERIALIZABLE,
                CollectionSize.ANY)
            .suppressing(suppressForLinkedHashMap())
            .createTestSuite();
      }
    
      /**
       * Tests regular NavigableMap behavior of synchronizedNavigableMap(treeMap); does not test the
       * fact that it's synchronized.
       */
      public Test testsForSynchronizedNavigableMap() {
        return NavigableMapTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

        }
    
        /**
         * This method simply calls {@code negotiate( req, resp, false )}
         * and then {@code chain.doFilter}. You can override and call
         * negotiate manually to achive a variety of different behavior.
         */
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/Kerb5ContextTest.java

            // Mock the static GSSManager.getInstance() method
            mockedStatic = mockStatic(GSSManager.class);
            mockedStatic.when(GSSManager::getInstance).thenReturn(gssManager);
    
            // Setup mock behavior for GSSManager with lenient matchers
            lenient().when(gssManager.createName(anyString(), any(), any())).thenReturn(serviceName);
            lenient().when(gssManager.createName(anyString(), any())).thenReturn(serviceName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top