Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1421 - 1430 of 6,020 for new1 (0.04 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

      private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/ChatSession.java

        private final Object messagesLock = new Object();
    
        /**
         * Default constructor.
         */
        public ChatSession() {
            this.sessionId = UUID.randomUUID().toString();
            this.createdAt = LocalDateTime.now();
            this.lastAccessedAt = this.createdAt;
            this.messages = new CopyOnWriteArrayList<>();
        }
    
        /**
         * Creates a new chat session for the specified user.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

      public Collection<V> get(@ParametricNullness K key) {
        if (keyPredicate.apply(key)) {
          return unfiltered.get(key);
        } else if (unfiltered instanceof SetMultimap) {
          return new AddRejectingSet<>(key);
        } else {
          return new AddRejectingList<>(key);
        }
      }
    
      private static final class AddRejectingSet<K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingSet<V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/FilteredKeyMultimap.java

      public Collection<V> get(@ParametricNullness K key) {
        if (keyPredicate.apply(key)) {
          return unfiltered.get(key);
        } else if (unfiltered instanceof SetMultimap) {
          return new AddRejectingSet<>(key);
        } else {
          return new AddRejectingList<>(key);
        }
      }
    
      private static final class AddRejectingSet<K extends @Nullable Object, V extends @Nullable Object>
          extends ForwardingSet<V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

        private int epoch;
    
        /**
         * Create a new lease V2 context request
         */
        public LeaseV2CreateContextRequest() {
            this.leaseKey = new Smb2LeaseKey();
            this.parentLeaseKey = new Smb2LeaseKey(new byte[16]); // Zero parent key by default
            this.leaseState = 0;
            this.leaseFlags = 0;
            this.epoch = 1;
        }
    
        /**
         * Create a new lease V2 context request with specified parameters
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. internal/cachevalue/cache.go

    	// Managed values.
    	val          atomic.Pointer[T]
    	lastUpdateMs atomic.Int64
    	updating     sync.Mutex
    }
    
    // New allocates a new cached value instance. Tt must be initialized with
    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsDuplicateHostCA.java

            DuplicateHostCQ cq = new DuplicateHostCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                DuplicateHostCA ca = new DuplicateHostCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 50.7K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsBoostDocumentRuleCA.java

            BoostDocumentRuleCQ cq = new BoostDocumentRuleCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                BoostDocumentRuleCA ca = new BoostDocumentRuleCA();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 50.6K bytes
    - Click Count (1)
Back to Top