Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,242 for Format (0.26 sec)

  1. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            assertEquals(445, url3.getPort());
            assertEquals("/share", url3.getPath());
            assertEquals("user:pass", url3.getUserInfo());
        }
    
        @Test
        @DisplayName("URL handles SMB-specific URL formats")
        void testSmbSpecificUrlFormats() throws Exception {
            // Test empty SMB URL
            URL emptyUrl = new URL(null, "smb://", handler);
            assertEquals("smb", emptyUrl.getProtocol());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileFilterTest.java

            verifyNoMoreInteractions(smbFile);
        }
    
        @ParameterizedTest(name = "getName='{0}' -> accepted={1}")
        @MethodSource("nameCases")
        @DisplayName("accept: name-based filter handles normal, empty, and null names")
        void accept_nameBasedFilter_handlesEdgeNames(String name, boolean expected) throws Exception {
            // Arrange: filter that accepts non-empty names ending with .txt
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Assertions.assertEquals(lastAccess, info.getLastAccessTime());
            Assertions.assertEquals(size, info.getSize());
        }
    
        // Supplies a range of normal and edge case values.
        private static Stream<Arguments> valueProvider() {
            return Stream.of(Arguments.of(0, 0L, 0L, 0L, 0L), // all zeros
                    Arguments.of(1, 1L, 1L, 1L, 1L), // ones
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/lex.go

    }
    
    func (l Token) String() string {
    	return l.text
    }
    
    // A Macro represents the definition of a #defined macro.
    type Macro struct {
    	name   string   // The #define name.
    	args   []string // Formal arguments.
    	tokens []Token  // Body of macro.
    }
    
    // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests.
    func Tokenize(str string) []Token {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       * Response and normal event sequences will not be received.
       *
       * This event will only be received when a Cache is configured for the client.
       */
      open fun cacheHit(
        call: Call,
        response: Response,
      ) {
      }
    
      /**
       * Invoked when a response will be served from the network. The Response will be
       * available from normal event sequences.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    As dependencies will also be called by **FastAPI** (the same as your *path operation functions*), the same rules apply while defining your functions.
    
    You can use `async def` or normal `def`.
    
    And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
    
    It doesn't matter. **FastAPI** will know what to do.
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HostSpecifier.java

       * known to be valid. If the {@code specifier} might be invalid, use {@link #from(String)}
       * instead.
       *
       * <p>The specifier must be in one of these formats:
       *
       * <ul>
       *   <li>A domain name, like {@code google.com}
       *   <li>A IPv4 address string, like {@code 127.0.0.1}
       *   <li>An IPv6 address string with or without brackets, like {@code [2001:db8::1]} or {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for SmbFilenameFilter interface behaviors via simple implementations.
     * Each test creates a concrete filter to validate expected contract semantics
     * including normal operation, null handling, edge cases, and exception flow.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbFilenameFilterTest {
    
        @Mock
        SmbFile mockDir;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/background-tasks.md

    Dans cet exemple, la fonction de tâche écrira dans un fichier (afin de simuler un envoi d'email).
    
    L'opération d'écriture n'utilisant ni `async` ni `await`, on définit la fonction avec un `def` normal.
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## Ajouter une tâche d'arrière-plan
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Nov 10 17:23:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. docs/smb3-features/06-witness-protocol-design.md

            // Consider fallback mechanisms
        }
        
        public void handlePartitionRecovery() {
            log.info("Network partition recovered - resuming normal witness operations");
            
            // Restore normal operation parameters
            // Verify all registrations are still valid
        }
    }
    ```
    
    ## 9. Performance and Optimization
    
    ### 9.1 Witness Event Batching
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top