Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 457 for W123 (0.08 seconds)

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            }
        }
    
        @Test
        @DisplayName("readn should handle partial reads")
        void testReadnPartial() throws IOException {
            byte[] buffer = new byte[10];
            byte[] data = { 1, 2, 3 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
    
            int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5);
    
            assertEquals(3, bytesRead); // Only 3 bytes available
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        bimap.put("one", 1);
        BiMap<String, Integer> sync = Maps.synchronizedBiMap(bimap);
        bimap.put("two", 2);
        sync.put("three", 3);
        assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet());
        assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet());
      }
    
      private static final Function<Integer, Double> SQRT_FUNCTION = in -> Math.sqrt(in);
    
      public void testTransformValues() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex() throws Exception {
            assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex2() throws Exception {
            assertEquals("0001", StringUtil.toHex(1));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
        assertThat(multimap.toString()).isEqualTo("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}");
      }
    
      public void testOrderedGet() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  7. src/main/config/openapi/openapi-user.yaml

          parameters:
            - name: seed
              in: query
              description: Random seed to return popular words
              required: false
              schema:
                type: string
                example: 123
            - name: label
              in: query
              description: Filtered label name
              required: false
              style: form
              explode: true
              schema:
                type: array
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu May 09 06:31:27 GMT 2024
    - 21.6K bytes
    - Click Count (0)
  8. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/stream-data.md

    ## `yield` を使った `StreamingResponse` { #a-streamingresponse-with-yield }
    
    path operation 関数で `response_class=StreamingResponse` を宣言すると、`yield` を使ってデータをチャンクごとに順次送信できます。
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[1:23] hl[20,23] *}
    
    FastAPI は各データチャンクをそのまま `StreamingResponse` に渡し、JSON などに変換しようとはしません。
    
    ### 非 async な path operation 関数 { #non-async-path-operation-functions }
    
    `async` なしの通常の `def` 関数でも同様に `yield` を使えます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Stopwatch.java

     * Stopwatch stopwatch = Stopwatch.createStarted();
     * doSomething();
     * stopwatch.stop(); // optional
     *
     * Duration duration = stopwatch.elapsed();
     *
     * log.info("time: " + stopwatch); // formatted string like "12.3 ms"
     * }
     *
     * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch
     * that is already in the desired state.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top