Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 73 for clear_id (0.24 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         *   <li>If this field's value == null because it originally belonged to another thread and that
         *       thread cleared it, we still know that it's not associated with our thread
         *   <li>If this field's value == null because it was associated with our thread and was
         *       cleared, we know that we're not executing inline any more
         * </ul>
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. cmd/object-api-utils_test.go

    			t.Errorf("Test %d - expected %v but received %v",
    				i+1, test.result, actual)
    		}
    	}
    }
    
    // Tests RemoveStandardStorageClass method. Expectation is metadata map
    // should be cleared of x-amz-storage-class, if it is set to STANDARD
    func TestRemoveStandardStorageClass(t *testing.T) {
    	tests := []struct {
    		name     string
    		metadata map[string]string
    		want     map[string]string
    	}{
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size");
    
            // Note: We don't check if content is cleared as that's not a security requirement
            // The important part is that the buffer is valid and has correct size
        }
    
        /**
         * Test getBuffers method for transaction buffers.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

        }
    
        public void test_clearCache() {
            // Test that clearCache doesn't throw exception
            popularWordHelper.clearCache();
    
            // Verify cache is cleared (we can't directly test this without accessing the cache)
            // But we can test that it doesn't throw exceptions
            assertTrue(true);
        }
    
        public void test_init_configuration() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
           * consistency with how weak references are cleared). That's a behavior change -- arguably the
           * removal of a feature.
           *
           * Fortunately, exceptions rarely contain references to expensive resources.
           */
    
          //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

            new TearDown() {
    
              @Override
              public void tearDown() throws Exception {
                synchronized (result.lock) {
                  assertEquals(
                      "The test should have cleared the stack (say, by virtue of running runTearDown)",
                      0,
                      result.stack.size());
                }
              }
            });
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        @DisplayName("setFlag false clears the bit")
        void testSetFlagFalse() {
            msg.setFlag(0x4, true);
            msg.setFlag(0x4, false);
            assertFalse(msg.getFlag(0x4), "Bit should be cleared after setFlag(false)");
        }
    
        // ---------------- Static read tests -----------------
        @Test
        @DisplayName("readULong correctly interprets little endian")
        void testReadULong() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/internal/Finalizer.java

       */
      private boolean finalizeReference(Reference<?> reference, Method finalizeReferentMethod) {
        /*
         * This is for the benefit of phantom references. Weak and soft references will have already
         * been cleared by this point.
         */
        reference.clear();
    
        if (reference == frqReference) {
          /*
           * The client no longer has a reference to the FinalizableReferenceQueue. We can stop.
           */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. tests/associations_test.go

    	if err := DB.Create(&member).Error; err != nil {
    		t.Fatalf("Failed to create test data, got error: %v", err)
    	}
    
    	if err := DB.Model(member).Association("Profiles").Clear(); err == nil {
    		t.Fatalf("No error occurred during clearind not null association")
    	}
    }
    
    func TestForeignKeyConstraints(t *testing.T) {
    	tidbSkip(t, "not support the foreign key feature")
    
    	type Profile struct {
    		ID       uint
    		Name     string
    		MemberID uint
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // different value
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
        entry.setValueReference(oldValueRef);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertFalse(segment.replace(key, hash, oldValue, newValue));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
Back to top