Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1371 - 1380 of 1,789 for key7 (0.02 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertThat(cache.getIfPresent(60)).isEqualTo(70);
        assertThat(cache.getIfPresent(5)).isEqualTo(5);
      }
    
      private static <K> boolean containsKey(Cache<K, ?> cache, K key) {
        return cache.getIfPresent(key) != null;
      }
    
      @Test
      public void invalidate() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        cache.put(654, 2675);
        cache.put(2456, 56);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

            }
          }
        } catch (NullPointerException | ClassCastException e) {
          return false;
        }
      }
    
      private int unsafeBinarySearch(Object key) throws ClassCastException {
        return Collections.binarySearch(elements, key, unsafeComparator());
      }
    
      @Override
      boolean isPartialView() {
        return elements.isPartialView();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/mdo/profiles.mdo

        This is the model specification for <code>${basedir}/profiles.xml</code>.
      ]]></description>
      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.profiles</value>
        </default>
      </defaults>
      <classes>
        <class rootElement="true" xml.tagName="profilesXml">
          <name>ProfilesRoot</name>
          <version>1.0.0</version>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            List<MavenProject> projectsInRequestScope = getProjectsInRequestScope(request, projects);
            for (MavenProject p : projectsInRequestScope) {
                String projectKey = ArtifactUtils.key(p.getGroupId(), p.getArtifactId(), p.getVersion());
    
                projectsMap.put(projectKey, p);
            }
    
            for (MavenProject project : projects) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  5. callbacks/preload.go

    	preloadMap := parsePreloadMap(db.Statement.Schema, preloads)
    
    	// avoid random traversal of the map
    	preloadNames := make([]string, 0, len(preloadMap))
    	for key := range preloadMap {
    		preloadNames = append(preloadNames, key)
    	}
    	sort.Strings(preloadNames)
    
    	isJoined := func(name string) (joined bool, nestedJoins []string) {
    		for _, join := range joins {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. finisher_api.go

    	"fmt"
    	"hash/maphash"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // Create inserts value, returning the inserted data's primary key in value's id
    func (db *DB) Create(value interface{}) (tx *DB) {
    	if db.CreateBatchSize > 0 {
    		return db.CreateInBatches(value, db.CreateBatchSize)
    	}
    
    	tx = db.getInstance()
    	tx.Statement.Dest = value
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/LongAdder.java

     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
     * @since 1.8
     * @author Doug Lea
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/RemovalCause.java

       * ConcurrentMap#replace(Object, Object, Object)}.
       */
      REPLACED {
        @Override
        boolean wasEvicted() {
          return false;
        }
      },
    
      /**
       * The entry was removed automatically because its key or value was garbage-collected. This can
       * occur when using {@link CacheBuilder#weakKeys}, {@link CacheBuilder#weakValues}, or {@link
       * CacheBuilder#softValues}.
       */
      COLLECTED {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  9. tests/test_stream_cancellation.py

    
    async def test_raw_stream_cancellation() -> None:
        """Raw streaming endpoint should be cancellable within a reasonable time."""
        cancelled = await _run_asgi_and_cancel(app, "/stream-raw", timeout=3.0)
        # The key assertion: we reached this line at all (didn't hang).
        # cancelled will be True because the infinite generator was interrupted.
        assert cancelled
    
    
    async def test_jsonl_stream_cancellation() -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsCrawlingInfoCB.java

            return doGetConditionQuery();
        }
    
        // ===================================================================================
        //                                                                         Primary Key
        //                                                                         ===========
        public CrawlingInfoCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsCrawlingInfoCB cb = this;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top