Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for oldValuerOf (0.11 sec)

  1. schema/field.go

    					}
    				}
    			}
    
    			fv, zero := v.Interface(), v.IsZero()
    			return fv, zero
    		}
    	}
    
    	if field.Serializer != nil {
    		oldValuerOf := field.ValueOf
    		field.ValueOf = func(ctx context.Context, v reflect.Value) (interface{}, bool) {
    			value, zero := oldValuerOf(ctx, v)
    
    			s, ok := value.(SerializerValuerInterface)
    			if !ok {
    				s = field.Serializer
    			}
    
    			return &serializer{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        InternalEntry<Object, Object, ?> entry = segment.getEntry(key, hash);
        WeakValueReference<Object, Object, ?> oldValueRef =
            segment.newWeakValueReferenceForTesting(entry, oldValue);
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertNull(segment.put(key, hash, newValue, false));
        assertEquals(1, 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)
  3. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        InternalEntry<Object, Object, ?> entry = segment.getEntry(key, hash);
        WeakValueReference<Object, Object, ?> oldValueRef =
            segment.newWeakValueReferenceForTesting(entry, oldValue);
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertNull(segment.put(key, hash, newValue, false));
        assertEquals(1, 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)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // cleared
        ReferenceEntry<Object, Object> entry = segment.getEntry(key, hash);
        DummyValueReference<Object, Object> oldValueRef = DummyValueReference.create(oldValue);
        entry.setValueReference(oldValueRef);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertNull(segment.put(key, hash, newValue, false));
        assertEquals(1, segment.count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // cleared
        ReferenceEntry<Object, Object> entry = segment.getEntry(key, hash);
        DummyValueReference<Object, Object> oldValueRef = DummyValueReference.create(oldValue);
        entry.setValueReference(oldValueRef);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertNull(segment.put(key, hash, newValue, false));
        assertEquals(1, segment.count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top