Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,666 for add1 (0.04 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      }
    
      /** getAndAdd returns previous value and adds given value */
      public void testGetAndAdd() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            AtomicDouble a = new AtomicDouble(x);
            double z = a.getAndAdd(y);
            assertBitEquals(x, z);
            assertBitEquals(x + y, a.get());
          }
        }
      }
    
      /** addAndGet adds given value to current, and returns current value */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        Multiset<String> multiset = HashMultiset.create();
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateWithSize() {
        Multiset<String> multiset = HashMultiset.create(50);
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                        // Earliest stable of the minor
                        val versionsOfMinor = entry.value
                        add(versionsOfMinor.lastOrNull { !it.contains("-") })
                        if (idx < versionsByMinor.size - 1) {
                            // Latest of the previous minor
                            add(versionsOfMinor.first())
                        } else {
                            // Current minor
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. internal/s3select/jstream/decoder.go

    		// Coerce to well-formed UTF-8.
    		default:
    			d.scratch.add(c)
    			if d.remaining() == 0 {
    				return "", d.mkError(ErrSyntax, "in string literal")
    			}
    			c = d.next()
    		}
    	}
    
    scan_esc:
    	switch c {
    	case '"', '\\', '/', '\'':
    		d.scratch.add(c)
    	case 'u':
    		goto scan_u
    	case 'b':
    		d.scratch.add('\b')
    	case 'f':
    		d.scratch.add('\f')
    	case 'n':
    		d.scratch.add('\n')
    	case 'r':
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingList.java

      }
    
      /**
       * A sensible default implementation of {@link #add(Object)}, in terms of {@link #add(int,
       * Object)}. If you override {@link #add(int, Object)}, you may wish to override {@link
       * #add(Object)} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardAdd(@ParametricNullness E element) {
        add(size(), element);
        return true;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/KeyMatchDbm.java

            List<ColumnInfo> ls = newArrayList();
            ls.add(columnBoost());
            ls.add(columnCreatedBy());
            ls.add(columnCreatedTime());
            ls.add(columnMaxSize());
            ls.add(columnQuery());
            ls.add(columnTerm());
            ls.add(columnUpdatedBy());
            ls.add(columnUpdatedTime());
            ls.add(columnVirtualHost());
            return ls;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. cmd/post-policy_test.go

    	t := UTCNow()
    	// Add the expiration date.
    	expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat))
    	// Add the bucket condition, only accept buckets equal to the one passed.
    	bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName)
    	// Add the key condition, only accept keys equal to the one passed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long();  /* assoc. group */
            int n = buf.dec_ndr_short(); /* secondary addr len */
            buf.advance(n); /* secondary addr */
            buf.align(4);
            buf.dec_ndr_small(); /* num results */
            buf.align(4);
            result = buf.dec_ndr_short();
            buf.dec_ndr_short();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  9. README.md

    ```
    
    ### Add suggest documents from source of index
    
    ```java
    DocumentReader reader = new ESSourceReader(
        client,
        suggester.settings(),
        "contentIndexName",
        "contentTypeName");
    suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
    ```
    
    ### Add suggest document from queryLog
    
    ```java
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. docs/en/docs/management-tasks.md

    * Start the title with a verb. For example `Add`, `Refactor`, `Fix`, etc. This way the title will say the action that the PR does. Like `Add support for teleporting`, instead of `Teleporting wasn't working, so this PR fixes it`.
    * Edit the text of the PR title to start in "imperative", like giving an order. So, instead of `Adding support for teleporting` use `Add support for teleporting`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 21:56:33 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top