Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for clearKey (0.08 sec)

  1. tests/multi_primary_keys_test.go

    		t.Fatalf("ZH Blog's tags should not be cleared when clear EN Blog's tags")
    	}
    
    	if DB.Model(&blog2).Association("LocaleTags").Count() != 0 {
    		t.Fatalf("EN Blog's tags should be cleared when clear EN Blog's tags")
    	}
    
    	DB.Model(&blog).Association("LocaleTags").Clear()
    	if DB.Model(&blog).Association("LocaleTags").Count() != 0 {
    		t.Fatalf("ZH Blog's tags should be cleared when clear ZH Blog's tags")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     * }</pre>
     *
     * <p>This class cannot currently be used to test soft references, since this class does not try to
     * create the memory pressure required to cause soft references to be cleared.
     *
     * <p>This class only provides testing utilities. It is not designed for direct use in production or
     * for benchmarking.
     *
     * @author mike nonemacher
     * @author Martin Buchholz
     * @since 11.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     * }</pre>
     *
     * <p>This class cannot currently be used to test soft references, since this class does not try to
     * create the memory pressure required to cause soft references to be cleared.
     *
     * <p>This class only provides testing utilities. It is not designed for direct use in production or
     * for benchmarking.
     *
     * @author mike nonemacher
     * @author Martin Buchholz
     * @since 11.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * block, and reference field assignment is atomic, this may save reacquiring the lock when
         * another thread or the worker task has cleared the count and set the state.
         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
         * {@code workerRunningState} will be available synchronously, and behaviour will be
         * deterministic.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * block, and reference field assignment is atomic, this may save reacquiring the lock when
         * another thread or the worker task has cleared the count and set the state.
         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
         * {@code workerRunningState} will be available synchronously, and behaviour will be
         * deterministic.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // different value
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
        oldValueRef.clear();
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // different value
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
        oldValueRef.clear();
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top