Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 345 for a123 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Act
                int decodedSize = context.decode(buffer, 0, buffer.length);
    
                // Assert
                assertEquals(8, decodedSize);
                assertArrayEquals(new int[] { 1, 2, 3 }, context.getCiphers());
            }
    
            @Test
            @DisplayName("Should handle empty cipher array in decode")
            void testDecodeEmptyCipherArray() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        void gettersAndAcquire() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            String wildcard = "*.*";
            int attrs = 123;
            FileEntry initial = entry("first");
            List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} });
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FunctionsTest.java

            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testForMapWithDefaultSerializable() {
        checkCanReserialize(Functions.forMap(ImmutableMap.of(1, 2), 3));
      }
    
      public void testForMapWithDefault_null() {
        ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1);
        Function<String, @Nullable Integer> function = Functions.forMap(map, null);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/bytes/example_test.go

    	var buf bytes.Buffer
    	for i := 0; i < 4; i++ {
    		b := buf.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		b = append(b, ' ')
    		buf.Write(b)
    	}
    	os.Stdout.Write(buf.Bytes())
    	// Output: 0 1 2 3
    }
    
    func ExampleBuffer_Cap() {
    	buf1 := bytes.NewBuffer(make([]byte, 10))
    	buf2 := bytes.NewBuffer(make([]byte, 0, 10))
    	fmt.Println(buf1.Cap())
    	fmt.Println(buf2.Cap())
    	// Output:
    	// 10
    	// 10
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns a string containing the supplied {@code char} values separated by {@code separator}.
       * For example, {@code join("-", '1', '2', '3')} returns the string {@code "1-2-3"}.
       *
       * @param separator the text that should appear between consecutive values in the resulting string
       *     (but not at the start or end)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SpnegoContextTest.java

        @Test
        @DisplayName("getSigningKey delegates to underlying mechanism context")
        void testGetSigningKeyDelegates() throws Exception {
            SpnegoContext ctx = newContext();
            byte[] key = new byte[] { 1, 2, 3 };
            when(this.mechContext.getSigningKey()).thenReturn(key);
            assertSame(key, ctx.getSigningKey());
            verify(this.mechContext, times(1)).getSigningKey();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            @Test
            @DisplayName("Should handle various result codes correctly")
            void testVariousResultCodes() throws Exception {
                // Test all known result codes
                int[] validCodes = { 0, 1, 2, 3 };
                String[] expectedMessages = { null, // 0 returns null (no exception)
                        "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        }
    
        @Test
        @DisplayName("Should handle path with special characters")
        void testSpecialCharactersInPath() throws Exception {
            // Given
            String specialPath = "\\\\server\\share$\\folder@123\\file#test";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, specialPath);
            byte[] buffer = new byte[512];
    
            // When
            req.encode(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            void testMinimumBufferSize() {
                // Given
                byte[] minBuffer = new byte[EXPECTED_SIZE];
                SrvCopychunk chunk = new SrvCopychunk(1, 2, 3);
    
                // When
                int bytesWritten = chunk.encode(minBuffer, 0);
    
                // Then
                assertEquals(EXPECTED_SIZE, bytesWritten);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    ### Include a *path operation* { #include-a-path-operation }
    
    We can also add *path operations* directly to the `FastAPI` app.
    
    Here we do it... just to show that we can 🤷:
    
    ```Python hl_lines="21-23" title="app/main.py"
    {!../../docs_src/bigger_applications/app/main.py!}
    ```
    
    and it will work correctly, together with all the other *path operations* added with `app.include_router()`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top