Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 104 for testpipe (1.28 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Verify response has correct fileName
            assertEquals(testFileName, response.getFileName());
        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            // size8 method rounds up to 8-byte boundary
            int expectedAlignedSize = (expectedSize + 7) & ~7;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeCalculationTests {
    
            @Test
            @DisplayName("Should calculate size correctly")
            void testSize() {
                int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 49 + 7) / 8) * 8;
                assertEquals(expectedSize, request.size());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    }
    
    func TestFileReader(t *testing.T) {
    	type (
    		testRead struct { // Read(cnt) == (wantStr, wantErr)
    			cnt     int
    			wantStr string
    			wantErr error
    		}
    		testWriteTo struct { // WriteTo(testFile{ops}) == (wantCnt, wantErr)
    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    		testRemaining struct { // logicalRemaining() == wantLCnt, physicalRemaining() == wantPCnt
    			wantLCnt int64
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertEquals(initialSize, map.size());
        } else {
          assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove));
        }
        assertInvariants(map);
      }
    
      public void testSize() {
        assertInvariants(makeEitherMap());
      }
    
      public void testKeySetRemove() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	// simple function which returns a message which gives the context of the test
    	// and then followed by the actual error message.
    	failTestStr := func(testType, failMsg string) string {
    		return fmt.Sprintf("MinIO %s: %s fail for \"%s\": \n<Error> %s", instanceType, testType, testName, failMsg)
    	}
    
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	client     *http.Client
    }
    
    type check struct {
    	*testing.T
    	testType string
    }
    
    // Assert - checks if gotValue is same as expectedValue, if not fails the test.
    func (c *check) Assert(gotValue any, expectedValue any) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    	// create xlStorage test setup
    	storage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	volName := "testvol"
    	fileName := "testfile"
    	if err := storage.MakeVol(t.Context(), volName); err != nil {
    		t.Fatal(err)
    	}
    
    	// 1) Whole-file bitrot check on proper file
    	size := int64(4*1024*1024 + 100*1024) // 4.1 MB
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg syscall (linux-386), const ESHUTDOWN = 108
    pkg syscall (linux-386), const ESOCKTNOSUPPORT = 94
    pkg syscall (linux-386), const ESPIPE = 29
    pkg syscall (linux-386), const ESRCH = 3
    pkg syscall (linux-386), const ESRMNT = 69
    pkg syscall (linux-386), const ESTALE = 116
    pkg syscall (linux-386), const ESTRPIPE = 86
    pkg syscall (linux-386), const ETH_P_1588 = 35063
    pkg syscall (linux-386), const ETH_P_8021Q = 33024
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  9. api/go1.txt

    pkg syscall (linux-386), const EREMOTEIO Errno
    pkg syscall (linux-386), const ERESTART Errno
    pkg syscall (linux-386), const ERFKILL Errno
    pkg syscall (linux-386), const ESRMNT Errno
    pkg syscall (linux-386), const ESTRPIPE Errno
    pkg syscall (linux-386), const ETH_P_1588 ideal-int
    pkg syscall (linux-386), const ETH_P_8021Q ideal-int
    pkg syscall (linux-386), const ETH_P_802_2 ideal-int
    pkg syscall (linux-386), const ETH_P_802_3 ideal-int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  10. api/go1.14.txt

    pkg syscall (freebsd-arm64), const ERPCMISMATCH Errno
    pkg syscall (freebsd-arm64), const ESHUTDOWN = 58
    pkg syscall (freebsd-arm64), const ESOCKTNOSUPPORT = 44
    pkg syscall (freebsd-arm64), const ESPIPE = 29
    pkg syscall (freebsd-arm64), const ESRCH = 3
    pkg syscall (freebsd-arm64), const ESTALE = 70
    pkg syscall (freebsd-arm64), const ETIMEDOUT = 60
    pkg syscall (freebsd-arm64), const ETOOMANYREFS = 59
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
Back to top