Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,365 for Head (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

     * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling.
     */
    class AndXServerMessageBlockTest {
    
        /**
         * Test stub for AndXServerMessageBlock to control read/write logic.
         */
        static class DummyAndXBlock extends AndXServerMessageBlock {
            int paramWordsWritten = 0;
            int bytesWritten = 0;
            int paramWordsRead = 0;
            int bytesRead = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then
            assertEquals(4, written);
            assertArrayEquals(expectedStructure, buffer);
        }
    
        @Test
        @DisplayName("Should verify request does not read response data")
        void testRequestDoesNotReadData() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/events.md

    Ein **Kontextmanager** in Python ist etwas, das Sie in einer `with`-Anweisung verwenden können, zum Beispiel kann `open()` als Kontextmanager verwendet werden:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    In neueren Versionen von Python gibt es auch einen **asynchronen Kontextmanager**. Sie würden ihn mit `async with` verwenden:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. tests/prepared_stmt_test.go

    		for j := 0; j < loopCount; j++ {
    			var tmp User
    			err := tx.Session(&gorm.Session{}).First(&tmp, id).Error
    			if err == nil || isUsingClosedConnError(err) {
    				continue
    			}
    			t.Errorf("failed to read user of id %d due to %s, there should not be error", id, err)
    			unexpectedError = true
    			break
    		}
    	}(user.ID)
    
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		<-writerFinish
    		pdb.Close()
    	}()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            int startIndex = 5;
            original.encode(buffer, startIndex);
    
            // Now decode into a new instance
            int bytesRead = fileBasicInfo.decode(buffer, startIndex, 36);
    
            // Verify bytes read
            assertEquals(36, bytesRead);
    
            // Verify decoded values match original
            assertEquals(TEST_CREATE_TIME, fileBasicInfo.getCreateTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/maven/bin/mvn

        # Replace LF with NUL for xargs
        tr '\n' '\0' | \
        # Split into words and process each argument
        # Use -0 with NUL to avoid special behaviour on quotes
        xargs -n 1 -0 | \
        while read -r arg; do
          # Replace variables first
          arg=$(echo "$arg" | sed \
            -e "s@\${MAVEN_PROJECTBASEDIR}@$MAVEN_PROJECTBASEDIR@g" \
            -e "s@\$MAVEN_PROJECTBASEDIR@$MAVEN_PROJECTBASEDIR@g")
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.18.md

        - [Node binaries](#node-binaries-12)
      - [Changelog since v1.18.5](#changelog-since-v1185)
      - [Urgent Upgrade Notes](#urgent-upgrade-notes)
        - [(No, really, you MUST read this before you upgrade)](#no-really-you-must-read-this-before-you-upgrade)
      - [Changes by Kind](#changes-by-kind-13)
        - [API Change](#api-change-2)
        - [Bug or Regression](#bug-or-regression-12)
      - [Dependencies](#dependencies-14)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    					gr.Close()
    				},
    			}
    
    			opts, _, err := batchReplicationOpts(ctx, "", gr.ObjInfo)
    			if err != nil {
    				batchLogIf(ctx, err)
    				continue
    			}
    			// TODO: I am not sure we read it back, but we aren't sending whether checksums are single/multipart.
    			for k, vals := range opts.Header() {
    				for _, v := range vals {
    					snowballObj.Headers.Add(k, v)
    				}
    			}
    
    			input <- snowballObj
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. cmd/erasure.go

    func (er erasureObjects) defaultWQuorum() int {
    	dataCount := er.setDriveCount - er.defaultParityCount
    	if dataCount == er.defaultParityCount {
    		return dataCount + 1
    	}
    	return dataCount
    }
    
    // defaultRQuorum read quorum based on setDriveCount and defaultParityCount
    func (er erasureObjects) defaultRQuorum() int {
    	return er.setDriveCount - er.defaultParityCount
    }
    
    func diskErrToDriveState(err error) (state string) {
    	switch {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
                final byte[] buf = new byte[1024];
                int length;
                while (-1 < (length = in.read(buf))) {
                    out.write(buf, 0, length);
                    out.flush();
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
Back to top