Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 309 for retVal (0.03 sec)

  1. docs/es/docs/tutorial/query-params-str-validations.md

    ### `Query` como valor por defecto o en `Annotated`
    
    Ten en cuenta que cuando uses `Query` dentro de `Annotated` no puedes usar el parámetro `default` para `Query`.
    
    En su lugar utiliza el valor por defecto real del parámetro de la función. De lo contrario, sería inconsistente.
    
    Por ejemplo, esto no está permitido:
    
    ```Python
    q: Annotated[str, Query(default="rick")] = "morty"
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

                        return null;
                    }
                    if (this.isDataFromNodeStatus) {
                        /*
                         * 'this' has been updated and should now
                         * have a real NetBIOS name
                         */
                        this.calledName = null;
                        return getHostName();
                    }
                } catch (final UnknownHostException uhe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * This avoids out-of-control memory consumption, and it keeps the cache from growing so
             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
             * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
             * that this will suffice. I have not even benchmarked with different size limits.
             */
            if (validClasses.size() > 1000) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        private NetShareEnum netShareEnum;
        private Configuration realConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            realConfig = new BaseConfiguration(false);
            // Mock configuration setup
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/AllocInfoTest.java

                // Then - values should be preserved even at boundaries
                assertEquals(Long.MAX_VALUE, capacity);
                assertEquals(Long.MAX_VALUE, free);
    
                // Note: In real implementation, free > capacity might be invalid,
                // but interface doesn't enforce this constraint
            }
    
            @Test
            @DisplayName("Should handle typical file system sizes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(0, response.getSecurityMode(), "Initial security mode should be 0");
            assertEquals(0, response.getDialect(), "Initial dialect should be 0");
        }
    
        @Test
        @DisplayName("Test decode with real-world SMB3 values")
        void testDecodeWithRealWorldValues() throws SMBProtocolDecodingException {
            // Prepare test data with realistic SMB3 values
            byte[] buffer = new byte[50];
            int bufferIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * technique that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## Atualize a *operação de rota* `/token`
    
    Crie um `timedelta` com o tempo de expiração do token.
    
    Crie um token de acesso JWT real e o retorne.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    ### Detalhes técnicos sobre o "sujeito" `sub` do JWT
    
    A especificação JWT diz que existe uma chave `sub`, com o sujeito do token.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       *     the size method
       */
      public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(newArray).isEqualTo(new byte[] {(byte) 0, (byte) 1, (byte) 2});
        newArray[1] = (byte) 5;
        assertThat((byte) list.get(1)).isEqualTo((byte) 1);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        byte[] array = {(byte) 0, (byte) 1, (byte) 2, (byte) 3};
        List<Byte> list = Bytes.asList(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top