Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 773 for zeros (0.03 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       * For example, the cache may evict an entry because it hasn't been used recently or very often.
       *
       * <p>If {@code maximumSize} is zero, elements will be evicted immediately after being loaded into
       * cache. This can be useful in testing, or to disable caching temporarily.
       *
       * <p>This feature cannot be used in conjunction with {@link #maximumWeight}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe");
            byte[] dst = new byte[10];
    
            // writeSetupWireFormat writes 4 bytes:
            // - subCommand byte
            // - 3 zero bytes (padding and no FID)
            int written = pipe.writeSetupWireFormat(dst, 0);
    
            assertEquals(4, written, "Setup should write 4 bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. tests/soft_delete_test.go

    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	if sql.NullTime(user.DeletedAt).Time.IsZero() {
    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    	if !regexp.MustCompile(`UPDATE .users. SET .deleted_at.=.* WHERE .users.\..id. = .* AND .users.\..deleted_at. IS NULL`).MatchString(sql) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(0x03, context.getHashAlgos()[2]);
                assertArrayEquals(salt, context.getSalt());
            }
    
            @Test
            @DisplayName("Should decode zero hash algorithms and zero salt")
            void testDecodeZeroHashAlgosAndSalt() throws SMBProtocolDecodingException {
                SMBUtil.writeInt2(0, buffer, 0);
                SMBUtil.writeInt2(0, buffer, 2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

        for (int a : TEST_INTS) {
          assertThrows(
              ArithmeticException.class,
              () -> {
                UnsignedInteger unused = UnsignedInteger.fromIntBits(a).dividedBy(UnsignedInteger.ZERO);
              });
        }
      }
    
      public void testMod() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            if (b != 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. docs/fr/docs/project-generation.md

    * Intégration Python facile avec **Jupyter Kernels** pour le développement à distance ou intra-Docker avec des extensions comme...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            void testGetResultSuccess() {
                message.result = 0;
                assertNull(message.getResult());
            }
    
            @Test
            @DisplayName("getResult should return DcerpcException for non-zero result")
            void testGetResultError() {
                message.result = 123; // Example error code
                DcerpcException exception = message.getResult();
                assertNotNull(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
    
            assertEquals(expectedTimestamp, avTimestamp.getTimestamp());
        }
    
        /**
         * Test getTimestamp method with zero timestamp.
         */
        @Test
        public void testGetTimestampZero() {
            long expectedTimestamp = 0L;
            byte[] rawBytes = new byte[8];
            SMBUtil.writeInt8(expectedTimestamp, rawBytes, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/InvalidatableSet.java

        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
        // (We could instead generate the message once, when the set is created, but zero is better.)
        if (!validator.get()) {
          throw new IllegalStateException(errorMessage.get());
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top