Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,607 for writes (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            }
            return len;
        }
    
        /**
         * Writes the AndX wire format to buffer
         * @param dst the destination buffer
         * @param dstIndex the starting index
         * @return the number of bytes written
         */
        protected int writeAndXWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            @DisplayName("Should calculate size correctly")
            void testSizeCalculation() {
                // Note: The size() method in EncryptionNegotiateContext returns 4 as base,
                // while encode() only writes 2 bytes for the count field.
                // This appears to be an implementation inconsistency.
                context = new EncryptionNegotiateContext(mockConfig, new int[3]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    	beforeDrives := formatsToDrivesInfo(s.endpoints.Endpoints, formats, sErrs)
    
    	res.After.Drives = make([]madmin.HealDriveInfo, len(beforeDrives))
    	res.Before.Drives = make([]madmin.HealDriveInfo, len(beforeDrives))
    	// Copy "after" drive state too from before.
    	for k, v := range beforeDrives {
    		res.Before.Drives[k] = v
    		res.After.Drives[k] = v
    	}
    
    	if countErrs(sErrs, errUnformattedDisk) == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  4. docs/smb3-features/01-smb3-lease-design.md

            } finally {
                lock.writeLock().unlock();
            }
        }
        
        private void flushCachedWrites(String path) {
            // Implementation to flush cached writes
            // This will be called when losing write cache
        }
        
        private void invalidateReadCache(String path) {
            // Implementation to invalidate read cache
            // This will be called when losing read cache
        }
    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            // The writeBytesWireFormat writes the structure and calculates padding
            // Base structure: 24 bytes, then pad8 alignment, then token: 5 bytes
            // Total bytes written includes padding for 8-byte alignment
            int expectedBytesWritten = 35;
            assertEquals(expectedBytesWritten, bytesWritten);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/endtoend_test.go

    	architecture.Init(ctxt)
    	lexer := lex.NewLexer(input)
    	parser := NewParser(ctxt, architecture, lexer)
    	pList := new(obj.Plist)
    	var ok bool
    	testOut = new(strings.Builder) // The assembler writes test output to this buffer.
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	ctxt.IsAsm = true
    	defer ctxt.Bso.Flush()
    	failed := false
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    		failed = true
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 01:02:50 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    	"unicode"
    	"unicode/utf8"
    )
    
    const smallMaxTokenSize = 256 // Much smaller for more efficient testing.
    
    // Test white space table matches the Unicode definition.
    func TestSpace(t *testing.T) {
    	for r := rune(0); r <= utf8.MaxRune; r++ {
    		if IsSpace(r) != unicode.IsSpace(r) {
    			t.Fatalf("white space property disagrees: %#U should be %t", r, unicode.IsSpace(r))
    		}
    	}
    }
    
    var scanTests = []string{
    	"",
    	"a",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    		readsPerSec:       "Reads per second on a drive",
    		writesPerSec:      "Writes per second on a drive",
    		readsKBPerSec:     "Kilobytes read per second on a drive",
    		writesKBPerSec:    "Kilobytes written per second on a drive",
    		readsAwait:        "Average time for read requests to be served on a drive",
    		writesAwait:       "Average time for write requests to be served on a drive",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    					if err != nil {
    						write([]byte{1})
    						write([]byte(err.Error()))
    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					xhttp.Flush(w)
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          failed = true
    
          socketToCancel = this.socket
    
          writerToClose = this.writer
          this.writer = null
    
          if (!isWriter && writerToClose != null) {
            // If the caller isn't the writer thread, get that thread to close the writer.
            taskQueue.execute("$name writer close", cancelable = false) {
              writerToClose.closeQuietly()
            }
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top