Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,189 for anys (0.02 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    case RESOLVER_LMHOSTS:
                        final NbtAddress ans = Lmhosts.getByName(name);
                        if (ans != null) {
                            ans.hostName.srcHashCode = 0; // just has to be different
                                                          // from other methods
                            return ans;
                        }
                        break;
                    case RESOLVER_WINS:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

                    while (sem.count > 0 && q1x.ans == null && q20.ans == null) {
                        sem.wait();
                    }
                }
            } catch (final InterruptedException ie) {
                throw new UnknownHostException(name);
            }
            if (q1x.ans != null) {
                return q1x.ans;
            }
            if (q20.ans != null) {
                return q20.ans;
            }
            throw q1x.uhe;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    case RESOLVER_LMHOSTS:
                        final NbtAddress ans = this.lmhosts.getByName(name, this.transportContext);
                        if (ans != null) {
                            ans.hostName.srcHashCode = 0; // just has to be different
                                                          // from other methods
                            return ans;
                        }
                        break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top