Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 2,530 for setD (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

       * gets invoked from other immutable collections.
       */
      public void testDoesntCheckForNull() {
        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
            new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null});
        // shouldn't throw!
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalSet}.
     *
     * @author Regina O'Dell
     */
    @AndroidIncompatible // test-suite builders
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(listener.getCount()).isEqualTo(0);
        table.set(0, entryOne);
        assertThat(segment.reclaimKey(entryTwo, hashTwo)).isFalse();
        assertThat(listener.getCount()).isEqualTo(0);
        table.set(0, entryTwo);
        assertThat(segment.reclaimKey(entryThree, hashThree)).isFalse();
        assertThat(listener.getCount()).isEqualTo(0);
    
        // present
        table.set(0, entryOne);
        segment.count = 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(listener.getCount()).isEqualTo(0);
        table.set(0, entryOne);
        assertThat(segment.reclaimKey(entryTwo, hashTwo)).isFalse();
        assertThat(listener.getCount()).isEqualTo(0);
        table.set(0, entryTwo);
        assertThat(segment.reclaimKey(entryThree, hashThree)).isFalse();
        assertThat(listener.getCount()).isEqualTo(0);
    
        // present
        table.set(0, entryOne);
        segment.count = 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
  5. internal/grid/types.go

    type MSS map[string]string
    
    // Get returns the value for the given key.
    func (m *MSS) Get(key string) string {
    	if m == nil {
    		return ""
    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    func (m *MSS) Set(key, value string) {
    	if m == nil {
    		*m = mssPool.Get()
    	}
    	(*m)[key] = value
    }
    
    // UnmarshalMsg deserializes m from the provided byte slice and returns the
    // remainder of bytes.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            // Verify field is not accessible initially
            boolean initialAccessibility = field.canAccess(bean);
    
            // Set the property using the helper
            helper.setProperty(bean, "directField", String.class, config);
    
            // Verify the value was set correctly
            assertEquals("fieldValue", bean.getDirectField());
    
            // Verify field accessibility is restored to its original state
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

            expectedHashCode,
            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/response-headers.md

    # Response Headers { #response-headers }
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002_py39.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. cmd/metacache-marker.go

    			if err != nil {
    				o.ID = mustGetUUID()
    				o.Create = true
    				continue
    			}
    			o.pool = int(v)
    		case "s": // set
    			v, err := strconv.ParseInt(kv[1], 10, 64)
    			if err != nil {
    				o.ID = mustGetUUID()
    				o.Create = true
    				continue
    			}
    			o.set = int(v)
    		default:
    			// Ignore unknown
    		}
    	}
    }
    
    // encodeMarker will encode a uuid and return it as a marker.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. src/cmd/api/main_test.go

    		}
    		w.emitf("%s%s", m.Name(), w.signatureString(m.Signature()))
    	}
    
    	if !complete {
    		// The method set has unexported methods, so all the
    		// implementations are provided by the same package,
    		// so the method set can be extended. Instead of recording
    		// the full set of names (below), record only that there were
    		// unexported methods. (If the interface shrinks, we will notice
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Feb 20 03:25:33 GMT 2025
    - 31.4K bytes
    - Click Count (0)
Back to Top