Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 691 for matchAt (0.11 sec)

  1. src/test/java/jcifs/smb1/util/Base64Test.java

        void testEncode(byte[] input, String expected) {
            // Arrange & Act
            String actual = Base64.encode(input);
            // Assert
            assertEquals(expected, actual, "Base64.encode should match expected string");
        }
    
        /**
         * Data provider for Base64 strings and expected decoded byte arrays.
         */
        static Stream<Arguments> decodeProvider() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       * hasNext()} method will return {@code false}.
       *
       * <p><b>Warning:</b> avoid using a {@code predicate} that matches {@code null}. If {@code null}
       * is matched in {@code iterator}, a NullPointerException will be thrown.
       *
       * @since 11.0
       */
      public static <T> Optional<T> tryFind(Iterator<T> iterator, Predicate<? super T> predicate) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            });
    
            // Test witness address validation
            assertNotNull(mockWitnessAddress);
            assertTrue(mockWitnessAddress.getHostAddress().matches("\\d+\\.\\d+\\.\\d+\\.\\d+"));
    
            // Test service endpoint formatting
            String serviceEndpoint = "ncacn_ip_tcp:" + mockWitnessAddress.getHostAddress() + "[135]";
            assertNotNull(serviceEndpoint);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. docs/smb3-features/04-directory-leasing-design.md

                this.attributes = attrs.getAttributes();
                this.creationTime = attrs.getCreateTime();
                this.lastAccessTime = attrs.getLastAccessTime();
            }
            
            public boolean matches(SmbFileAttributes attrs) {
                return size == attrs.getSize() 
                    && lastModified == attrs.getLastWriteTime()
                    && attributes == attrs.getAttributes();
            }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE");
                assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor");
            }
    
            @ParameterizedTest
            @DisplayName("Rejects non-IPC$ URLs")
            @ValueSource(strings = { "smb://server/C$/foo", "smb://server/public/foo", "smb://server/share/path" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            // Assert
            assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage(),
                    "Default message should match the class contract");
            assertNull(ex.getCause(), "No cause expected from default constructor");
            assertTrue(ex instanceof SmbException, "Should be an SmbException");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/path-operation-configuration.md

    Wenn Sie eine große Anwendung haben, können sich am Ende **viele Tags** anhäufen, und Sie möchten sicherstellen, dass Sie für verwandte *Pfadoperationen* immer den **gleichen Tag** nehmen.
    
    In diesem Fall macht es Sinn, die Tags in einem `Enum` zu speichern.
    
    **FastAPI** unterstützt diese genauso wie einfache Strings:
    
    {* ../../docs_src/path_operation_configuration/tutorial002b.py hl[1,8:10,13,18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

     * validating constants.
     */
    public class SmbConstantsTest {
    
        /**
         * Verify that the hard‑coded default values are present.
         */
        @Test
        @DisplayName("Default constant values match expectations")
        void defaultValues() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
            assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT);
            assertEquals(30000, SmbConstants.DEFAULT_RESPONSE_TIMEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    		{"\xff", '�', 0},
    		{"☻x�", '�', len("☻x")},
    		{"☻x\xe2\x98", '�', len("☻x")},
    		{"☻x\xe2\x98�", '�', len("☻x")},
    		{"☻x\xe2\x98x", '�', len("☻x")},
    
    		// Invalid rune values should never match.
    		{"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", -1, -1},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            // Assert: first page
            assertTrue(it.hasNext(), "Iterator should have first element");
            assertSame(fe1, it.next(), "First element must match first page");
            assertTrue(it.hasNext(), "Iterator should have second element");
            assertSame(fe2, it.next(), "Second element must match first page");
    
            // Next page fetched via fetchMore()
            assertTrue(it.hasNext(), "Iterator should have third element after fetchMore");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top