- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 914 for Zero (0.03 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should initially have zero data length") void testInitialDataLength() { // Then assertEquals(0, response.getDataLength()); } @Test @DisplayName("Should initially have zero data remaining") void testInitialDataRemaining() { // Then assertEquals(0, response.getDataRemaining());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
System.arraycopy(buffer, 14, encodedName, 0, nameBytes.length); assertArrayEquals(nameBytes, encodedName); } @Test @DisplayName("Test zero timeout with timeout specified constructor") void testZeroTimeoutWithTimeoutSpecified() { // Setup String pipeName = "TestPipe"; long timeout = 0L;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
internal/crypto/key_test.go
i, test := i, test func() { defer recoverTest(i, test.ShouldPass, t) key := GenerateKey(test.ExtKey[:], test.Random) if [32]byte(key) == [32]byte{} { t.Errorf("Test %d: generated key is zero key", i) // check that we generate random and unique key } }() } } var generateIVTests = []struct { Random io.Reader ShouldPass bool }{ {Random: nil, ShouldPass: true}, // 0
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 6.7K bytes - Viewed (0) -
docs/debugging/xattr/main.go
flag.BoolVar(&set, "set", false, "this is a set attribute operation") flag.Parse() if set && value == 0 { log.Fatalln("setting an attribute requires a non-zero value") } if !set && value > 0 { log.Fatalln("to set a value please specify --set along with --value") } table := tablewriter.NewWriter(os.Stdout) table.SetHeader([]string{"Name", "Value"})
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K bytes - Viewed (0) -
internal/bpool/pool.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bpool import "sync" // Pool is a single type sync.Pool with a few extra properties: // If New is not set Get may return the zero value of T. type Pool[T any] struct { New func() T p sync.Pool } // Get will retuen a new T func (p *Pool[T]) Get() T { v, ok := p.p.Get().(T) if ok { return v } if p.New == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
panic(err) } return FromTimestamp(t) }, func() *Value { return FromString("string contents") }, } // altValueBuilders contains one constructor for each value type. // Values are zero values and should NOT match the values in valueBuilders, except Null type. var altValueBuilders = []func() *Value{ FromNull, func() *Value { return FromBool(false) }, func() *Value { return FromBytes(nil)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
cmd/batch-expire_test.go
prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below. rules: - type: object # regular objects with zero or more older versions name: NAME # match object names that satisfy the wildcard expression. olderThan: 7d10h # match objects older than this valueRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertTrue(ex.getMessage().contains("below zero")); verify(treeConnection, times(1)).release(); // still only once } @Test @DisplayName("acquire after release reacquires underlying tree connection") void acquireAfterReleaseReacquires() { // After dropping to zero, acquire() should reacquire the underlying connection // Drop usage to zero handle.release();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
assertEquals(fileName, decodedName); // Verify bytes written assertEquals(20 + nameLength, bytesWritten); } @Test @DisplayName("Test encode with non-zero destination index") void testEncodeWithNonZeroDestIndex() { String fileName = "test.txt"; FileRenameInformation2 info = new FileRenameInformation2(fileName, true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)