Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 866 for read (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            int dstIndex = 8;
    
            // When
            int bytesEncoded = info.encode(buffer, dstIndex);
    
            // Then
            assertEquals(40, bytesEncoded); // Should encode 40 bytes
            // Use SMBUtil to read times back properly
            assertEquals(TEST_CREATE_TIME, SMBUtil.readTime(buffer, dstIndex));
            assertEquals(TEST_LAST_ACCESS_TIME, SMBUtil.readTime(buffer, dstIndex + 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Configuration.java

         *
         * @return RDMA provider name ("auto", "disni", "tcp", etc.)
         */
        String getRdmaProvider();
    
        /**
         * Get RDMA read/write threshold
         *
         * Operations larger than this size will use RDMA read/write
         * instead of send/receive.
         *
         * @return threshold in bytes
         */
        int getRdmaReadWriteThreshold();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                }
                final SmbPipeOutputStream out = getOutput();
                final SmbPipeInputStream in = getInput();
                out.write(buf, off, length);
                return in.read(inB);
            }
        }
    
        @Override
        public int recv(final byte[] buf, final int off, final int len) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. docs/ko/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003.py hl[1,13] *}
    
    파이썬에서 **컨텍스트 매니저**는 `with` 문에서 사용할 수 있는 것입니다. 예를 들어, `open()`은 컨텍스트 매니저로 사용할 수 있습니다:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    최근 버전의 파이썬에서는 **비동기 컨텍스트 매니저**도 있습니다. 이를 `async with`와 함께 사용합니다:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:33:53 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. cmd/metacache-server-pool.go

    			if o.pool < len(z.serverPools) && o.set < len(z.serverPools[o.pool].sets) {
    				o.debugln("Resuming", o)
    				entries, err = z.serverPools[o.pool].sets[o.set].streamMetadataParts(ctx, *o)
    				entries.reuse = true // We read from stream and are not sharing results.
    				if err == nil {
    					return entries, nil
    				}
    			} else {
    				err = fmt.Errorf("invalid pool/set")
    				o.pool, o.set = 0, 0
    			}
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/input.go

    	// Distinguish these cases using the column number, since we don't
    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    	if tok == '(' && in.Stack.Col() == prevCol+1 {
    		// Macro has arguments. Scan list of formals.
    		acceptArg := true
    		args = []string{} // Zero length but not nil.
    	Loop:
    		for {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    		defer rc.Close()
    
    		if !p.initialized() {
    			return re, nil
    		}
    		var data [4]byte
    		n, err := rc.Read(data[:])
    		if err != nil {
    			return re, err
    		}
    		if n != len(data) {
    			return re, errors.New("replication mrf: no data")
    		}
    		// Read resync meta header
    		switch binary.LittleEndian.Uint16(data[0:2]) {
    		case mrfMetaFormat:
    		default:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // -1 in 16-bit is 0xFFFF
            assertEquals((byte) 0xFF, buffer[2]);
            assertEquals((byte) 0xFF, buffer[3]);
        }
    
        @Test
        @DisplayName("Should verify all read methods return 0 with various parameters")
        void testAllReadMethodsReturnZero() {
            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            // Test user boost
            item.setUserBoost(2.0f);
            assertEquals(2.0f, item.getUserBoost(), 0.001f);
    
            // Test readings
            String[][] newReadings = { { "read1", "read2" }, { "read3" } };
            item.setReadings(newReadings);
            assertArrayEquals(newReadings, item.getReadings());
    
            // Test fields
            String[] fields = { "field1", "field2" };
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpFilter.java

     * MSIE clients using NTLM SSP. This is similar to {@code Authentication:
     * BASIC} but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
     * Read <a href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and the Network Explorer Servlet</a> for
     * complete details.
     *
     * @deprecated NTLMv1 only
     */
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top