Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 933 for behaviour (0.07 seconds)

  1. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

    import jcifs.internal.NotifyResponse;
    import jcifs.internal.smb1.trans.nt.NtTransNotifyChange;
    import jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest;
    
    /**
     * Tests for SmbWatchHandleImpl focusing on behavior and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbWatchHandleImplTest {
    
        @Mock
        SmbFileHandleImpl handle;
    
        @Mock
        SmbTreeHandleImpl tree;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

      }
    
      @Test fun binarySearchEmptyRange() {
        assertEquals(-1, binarySearch(0, 0) { error("unexpected call") })
      }
    
      /** Confirm the compact table has the exact same behavior as the plain table. */
      @Test fun comparePlainAndCompactTables() {
        val buffer = Buffer()
        for (codePoint in 0..0x10ffff) {
          val allowedByTable = table.map(codePoint, buffer)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        SmbFileHandleImpl fd;
        @Mock
        Configuration config;
    
        private SmbPipeInputStream newStreamWithInit(boolean smb2) throws CIFSException {
            when(handle.getPipe()).thenReturn(pipe);
            // init(th) behavior inside SmbFileInputStream constructor
            when(tree.isSMB2()).thenReturn(smb2);
            when(tree.getReceiveBufferSize()).thenReturn(4096);
            when(tree.getMaximumBufferSize()).thenReturn(65535);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/body.md

    /// info
    
    To send data, you should use one of: `POST` (the more common), `PUT`, `DELETE` or `PATCH`.
    
    Sending a body with a `GET` request has an undefined behavior in the specifications, nevertheless, it is supported by FastAPI, only for very complex/extreme use cases.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

     *
     * <p>By default, {@code BaseEncoding}'s behavior is relatively strict and in accordance with RFC
     * 4648. Decoding rejects characters in the wrong case, though padding is optional. To modify
     * encoding and decoding behavior, use configuration methods to obtain a new encoding with modified
     * behavior:
     *
     * {@snippet :
     * BaseEncoding.base16().lowerCase().decode("deadbeef");
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            LdapManager ldapManager = new LdapManager();
            ldapManager.init();
    
            // Should handle null gracefully (though it may throw NPE in actual implementation)
            // This test documents the expected behavior
            try {
                String result = ldapManager.normalizePermissionName(null);
                assertNull(result);
            } catch (NullPointerException e) {
                // NPE is acceptable for null input
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
            .suppressing(suppressForEnumSet())
            .createTestSuite();
      }
    
      /**
       * Tests regular NavigableSet behavior of synchronizedNavigableSet(treeSet); does not test the
       * fact that it's synchronized.
       */
      public Test testsForSynchronizedNavigableSet() {
        return NavigableSetTestSuiteBuilder.using(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  8. 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.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SSPContextTest.java

                // Available if context is established and integrity is supported
                return this.established && this.integrity;
            }
        }
    
        @Nested
        @DisplayName("Happy path behavior")
        class HappyPath {
            @Test
            @DisplayName("All getters return configured values and MIC roundtrips")
            void testAllMethodsHappyPath() throws Exception {
                // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            if ((makeBehavior != null && !makeBehavior.isEmpty()) && !makeUpstream && !makeDownstream) {
                throw new MavenExecutionException("Invalid reactor make behavior: " + makeBehavior, request.getPom());
            }
    
            if (makeUpstream || makeDownstream) {
                Set<MavenProject> projectsSet = new HashSet<>(projects);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
Back to Top