Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 281 for addUse (0.05 sec)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        this.maximumSize = builder.maximumSize;
        // TODO(kevinb): pad?
        this.queue = new Object[queueSize];
      }
    
      @Override
      public int size() {
        return size;
      }
    
      /**
       * Adds the given element to this queue. If this queue has a maximum size, after adding {@code
       * element} the queue will automatically evict its greatest element (according to its comparator),
       * which may be {@code element} itself.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableList.java

          if (contents.length < newCapacity || copyOnWrite) {
            this.contents = Arrays.copyOf(contents, newCapacity);
            copyOnWrite = false;
          }
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      /** Method reference-compatible listener event. */
      interface Event<L> {
        /** Call a method on the listener. */
        void call(L listener);
      }
    
      /**
       * Adds a listener that will be called using the given executor when events are later {@link
       * #enqueue enqueued} and {@link #dispatch dispatched}.
       */
      public void addListener(L listener, Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/LongAdder.java

      /** Version of plus for use in retryUpdate */
      @Override
      final long fn(long v, long x) {
        return v + x;
      }
    
      /** Creates a new adder with initial sum of zero. */
      public LongAdder() {}
    
      /**
       * Adds the given value.
       *
       * @param x the value to add
       */
      @Override
      public void add(long x) {
        Cell[] as;
        long b, v;
        int[] hc;
        Cell a;
        int n;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/LongAdder.java

      /** Version of plus for use in retryUpdate */
      @Override
      final long fn(long v, long x) {
        return v + x;
      }
    
      /** Creates a new adder with initial sum of zero. */
      public LongAdder() {}
    
      /**
       * Adds the given value.
       *
       * @param x the value to add
       */
      @Override
      public void add(long x) {
        Cell[] as;
        long b, v;
        int[] hc;
        Cell a;
        int n;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Response.kt

         * with that name, they are all replaced.
         */
        open fun header(
          name: String,
          value: String,
        ) = commonHeader(name, value)
    
        /**
         * Adds a header with [name] to [value]. Prefer this method for multiply-valued
         * headers like "Set-Cookie".
         */
        open fun addHeader(
          name: String,
          value: String,
        ) = commonAddHeader(name, value)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      abstract Graph<Integer> createGraph();
    
      /**
       * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable
       * graph implementations, this method should replace {@link #graph} with a new graph that includes
       * this node.
       */
      abstract void addNode(Integer n);
    
      /**
       * A proxy method that adds the edge {@code e} to the graph being tested. In case of Immutable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

      public EqualsTester() {
        this(new RelationshipTester.ItemReporter());
      }
    
      EqualsTester(RelationshipTester.ItemReporter itemReporter) {
        this.itemReporter = checkNotNull(itemReporter);
      }
    
      /**
       * Adds {@code equalityGroup} with objects that are supposed to be equal to each other and not
       * equal to any other equality groups added to this tester.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          valuesBuilder.add(value);
          return this;
        }
    
        /**
         * Adds an entry to the built multimap.
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          return put(entry.getKey(), entry.getValue());
        }
    
        /**
         * Adds entries to the built multimap.
         *
         * @since 19.0
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. chainable_api.go

    		tx.Statement.Preloads = map[string][]interface{}{}
    	}
    	tx.Statement.Preloads[query] = args
    	return
    }
    
    // Attrs provide attributes used in [FirstOrCreate] or [FirstOrInit]
    //
    // Attrs only adds attributes if the record is not found.
    //
    //	// assign an email if the record is not found
    //	db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top