Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 942 for Last (0.04 sec)

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

       * @param element the element to append to the end
       * @return an array whose size is one larger than {@code array}, with the same contents as {@code
       *     array}, plus {@code element} occupying the last position.
       */
      public static <T extends @Nullable Object> T[] concat(T[] array, @ParametricNullness T element) {
        T[] result = Arrays.copyOf(array, array.length + 1);
        result[array.length] = element;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

        }
    
        public void testLast() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
    
            try {
              Integer first = filtered.last();
              assertFalse(filtered.isEmpty());
              assertEquals(Ordering.natural().max(filtered), first);
            } catch (NoSuchElementException e) {
              assertTrue(filtered.isEmpty());
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testObjectHashCodeWithSameLowOrderBytes() {
        // These will have the same first 4 bytes (all 0).
        byte[] bytesA = new byte[5];
        byte[] bytesB = new byte[5];
    
        // Change only the last (5th) byte
        bytesA[4] = (byte) 0xbe;
        bytesB[4] = (byte) 0xef;
    
        HashCode hashCodeA = HashCode.fromBytes(bytesA);
        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ObjectArrays.java

       * @param element the element to append to the end
       * @return an array whose size is one larger than {@code array}, with the same contents as {@code
       *     array}, plus {@code element} occupying the last position.
       */
      public static <T extends @Nullable Object> T[] concat(T[] array, @ParametricNullness T element) {
        T[] result = Arrays.copyOf(array, array.length + 1);
        result[array.length] = element;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

              x >>>= shift;
            } while (x != 0);
          } else {
            // Separate off the last digit using unsigned division. That will leave
            // a number that is nonnegative as a signed integer.
            long quotient;
            if ((radix & 1) == 0) {
              // Fast path for the usual case where the radix is even.
              quotient = (x >>> 1) / (radix >>> 1);
            } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    	DeleteAllVersionsAction
    	// DelMarkerDeleteAllVersionsAction deletes all versions when an object with delete marker as latest version expires
    	DelMarkerDeleteAllVersionsAction
    	// ActionCount must be the last action and shouldn't be used as a regular action.
    	ActionCount
    )
    
    // DeleteRestored - Returns true if action demands delete on restored objects
    func (a Action) DeleteRestored() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SID.java

        public SID getDomainSid () {
            return new SID(this, SID_TYPE_DOMAIN, this.domainName, null, getType() != SID_TYPE_DOMAIN);
        }
    
    
        /**
         * Get the RID
         * 
         * This is the last subauthority identifier
         * 
         * @return the RID
         */
        @Override
        public int getRid () {
            if ( getType() == SID_TYPE_DOMAIN )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Striped64.java

          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
        } else h = hc[0];
        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/adminlte.min.js

    (function(e){return 38==e.keyCode?(e.preventDefault(),void n.default(ft).children().last().focus()):40==e.keyCode?(e.preventDefault(),void n.default(ft).children().first().focus()):void setTimeout((function(){ht._jQueryInterface.call(n.default(ot),"search")}),100)})),n.default(document).on("keydown",ft,(function(e){var t=n.default(":focus");38==e.keyCode&&(e.preventDefault(),t.is(":first-child")?t.siblings().last().focus():t.prev().focus()),40==e.keyCode&&(e.preventDefault(),t.is(":last-child")?...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/custom-response.md

    ```
    
    ### `JSONResponse`
    
    Takes some data and returns an `application/json` encoded response.
    
    This is the default response used in **FastAPI**, as you read above.
    
    ### `ORJSONResponse`
    
    A fast alternative JSON response using <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, as you read above.
    
    /// info
    
    This requires installing `orjson` for example with `pip install orjson`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top