Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 237 for 1014 (1.33 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        private int outputBufferOffset;
        private Smb2ReadResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            outputBuffer = new byte[1024];
            outputBufferOffset = 0;
            response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset);
        }
    
        @Test
        @DisplayName("Should create response with configuration and output buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

              // passes, and there is still a little endianness bug lurking around.
            }
          }
    
          Control control = new Control();
          Hasher controlSink = control.newHasher(1024);
    
          Iterable<Hasher> sinksAndControl =
              Iterables.concat(sinks, Collections.singleton(controlSink));
          for (int insertion = 0; insertion < totalInsertions; insertion++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

          if (unsafeImpl.compare(ba3, ba4) == 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      /*
      try {
        UnsignedBytesBenchmark bench = new UnsignedBytesBenchmark();
        bench.length = 1024;
        bench.setUp();
        bench.timeUnsafe(100000);
      } catch (Exception e) {
      }*/
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/response-headers.md

    Crea un response como se describe en [Retorna un Response Directamente](response-directly.md){.internal-link target=_blank} y pasa los headers como un parámetro adicional:
    
    {* ../../docs_src/response_headers/tutorial001.py hl[10:12] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.responses import Response` o `from starlette.responses import JSONResponse`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                response.decode(buffer1, 0, buffer1.length);
                assertEquals(1, response.getChunksWritten());
                assertEquals(1024, response.getChunkBytesWritten());
                assertEquals(1024, response.getTotalBytesWritten());
    
                // Second decode - should update values
                byte[] buffer2 = createValidCopyChunkResponse(5, 8192, 40960);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                byte[] buffer = new byte[1024];
                int result = request.readBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of buffer position")
            void testReadBytesWireFormatDifferentPosition() {
                byte[] buffer = new byte[1024];
                int result = request.readBytesWireFormat(buffer, 100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        void testVariousPathFormats(String path) throws Exception {
            // Given
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path);
            byte[] buffer = new byte[1024];
    
            // Encode to set headerStart
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertNull(segment.put(key, hash, value, false));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-fields.md

    ///
    
    ## Declare model attributes { #declare-model-attributes }
    
    You can then use `Field` with model attributes:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` works the same way as `Query`, `Path` and `Body`, it has all the same parameters, etc.
    
    /// note | Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top