Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,999 for any (0.01 sec)

  1. src/test/java/jcifs/SidResolverTest.java

            doNothing().when(sidResolver).resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), eq(0), eq(3));
    
            assertDoesNotThrow(() -> sidResolver.resolveSids(mockContext, testServerName, testSids, 0, 3));
        }
    
        @Test
        void testResolveSidsWithOffsetAndLength_SingleElement() throws CIFSException {
            doNothing().when(sidResolver).resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), eq(2), eq(1));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileTest.java

                when(existsResponse.getAttributes()).thenReturn(0); // Not found
                when(mockTreeHandle.send(any(), any(SmbComQueryInformationResponse.class))).thenReturn(existsResponse);
    
                // Mock the actual mkdir call
                when(mockTreeHandle.send(any(SmbComCreateDirectory.class), any(SmbComBlankResponse.class)))
                        .thenReturn(mock(SmbComBlankResponse.class));
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            verify(signingDigest, times(iterations)).sign(any(byte[].class), anyInt(), anyInt(), any(CommonServerMessageBlock.class),
                    any(CommonServerMessageBlock.class));
        }
    
        @Test
        @DisplayName("Test multiple verify operations with mixed results")
        void testMultipleVerifyOperations() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/response-directly.md

    In fact, you can return any `Response` or any sub-class of it.
    
    /// tip
    
    `JSONResponse` itself is a sub-class of `Response`.
    
    ///
    
    And when you return a `Response`, **FastAPI** will pass it directly.
    
    It won't do any data conversion with Pydantic models, it won't convert the contents to any type, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      private val forbiddenLocks = mutableSetOf<Any>()
    
      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/get-current-user.md

    You actually don't have users that log in to your application but robots, bots, or other systems, that have just an access token? Again, it all works the same.
    
    Just use any kind of model, any kind of class, any kind of database that you need for your application. **FastAPI** has you covered with the dependency injection system.
    
    ## Code size { #code-size }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Assert: sanity check and verify that no mutating calls were made after construction
            assertEquals("true", returned.get("refreshKrb5Config"));
            verify(spyOpts, never()).put(any(), any());
            verify(spyOpts, never()).remove(any());
            verify(spyOpts, never()).clear();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(response.getService()).thenReturn("A:");
            when(response.isValidTid()).thenReturn(true);
            when(response.getTid()).thenReturn(1);
            when(session.send(any(), any())).thenReturn(response);
            when(config.isIpcSigningEnforced()).thenReturn(false);
    
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            tree.treeConnect(null, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            }).when(transport).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class));
    
            session.send(req, resp);
            // Response state should be reset
            assertFalse(resp.received, "Response flag should be reset");
            // transport.send should be called at least once (for sessionSetup and the actual request)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/middleware.md

    A "middleware" is a function that works with every **request** before it is processed by any specific *path operation*. And also with every **response** before returning it.
    
    * It takes each **request** that comes to your application.
    * It can then do something to that **request** or run any needed code.
    * Then it passes the **request** to be processed by the rest of the application (by some *path operation*).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top