Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for bufsize (0.09 sec)

  1. src/bufio/bufio_test.go

    				for k := 0; k < len(bufsizes); k++ {
    					readmaker := readMakers[i]
    					bufreader := bufreaders[j]
    					bufsize := bufsizes[k]
    					read := readmaker.fn(strings.NewReader(text))
    					buf := NewReaderSize(read, bufsize)
    					s := bufreader.fn(buf)
    					if s != text {
    						t.Errorf("reader=%s fn=%s bufsize=%d want=%q got=%q",
    							readmaker.name, bufreader.name, bufsize, text, s)
    					}
    				}
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    					t.Errorf("Case: %d %#v, expected: \"%s\", got: \"%s\"", i+1, testCase, string(testCase.expectedBuf), string(buf[:testCase.bufSize]))
    				}
    				if n != int64(testCase.bufSize) {
    					t.Errorf("Case: %d %#v, expected: %d, got: %d", i+1, testCase, testCase.bufSize, n)
    				}
    			}
    		}
    	}
    
    	// TestXLStorage for permission denied.
    	if runtime.GOOS != globalWindowsOSName {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

            }
        }
    
    
        void copyRecursive ( SmbFile dest, byte[][] b, int bsize, WriterThread w, SmbTreeHandleImpl sh, SmbTreeHandleImpl dh ) throws CIFSException {
            if ( isDirectory() ) {
                SmbCopyUtil.copyDir(this, dest, b, bsize, w, sh, dh);
            }
            else {
                SmbCopyUtil.copyFile(this, dest, b, bsize, w, sh, dh);
            }
    
            dest.clearAttributeCache();
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    		// directly between worlds, but we need to moderate those.
    		t.Go = c.uintptr
    		t.Align = c.ptrSize
    
    	case *dwarf.IntType:
    		if dt.BitSize > 0 {
    			fatalf("%s: unexpected: %d-bit int type - %s", lineno(pos), dt.BitSize, dtype)
    		}
    
    		if t.Align = t.Size; t.Align >= c.ptrSize {
    			t.Align = c.ptrSize
    		}
    
    		switch t.Size {
    		default:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    }
    
    // Malform chunk size given a request signed using streaming signatureV4.
    func malformChunkSizeSigV4(req *http.Request, badSize int64) (*http.Request, error) {
    	bufReader := bufio.NewReader(req.Body)
    	_, chunkSignature, err := readChunkLine(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	n := badSize
    	newHexChunkSize := []byte(fmt.Sprintf("%x", n))
    	newChunkHdr := []byte(fmt.Sprintf("%s"+s3ChunkSignatureStr+"%s\r\n",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top