Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 858 for element1 (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        }
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries (where "
                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. cmd/api-datatypes.go

    	Location string   `xml:"LocationConstraint"`
    }
    
    // DeleteObjectsRequest - xml carrying the object key names which needs to be deleted.
    type DeleteObjectsRequest struct {
    	// Element to enable quiet mode for the request
    	Quiet bool
    	// List of objects to be deleted
    	Objects []ObjectToDelete `xml:"Object"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
       * <p>Because the set may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
       * <p>Because the set may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    	return reduceQuorumErrs(ctx, errs, ignoredErrs, writeQuorum, errErasureWriteQuorum)
    }
    
    // Similar to 'len(slice)' but returns the actual elements count
    // skipping the unallocated elements.
    func diskCount(disks []StorageAPI) int {
    	diskCount := 0
    	for _, disk := range disks {
    		if disk == nil {
    			continue
    		}
    		diskCount++
    	}
    	return diskCount
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-utils.go

    //
    // Note: Only the scanner requires fivs.Versions to have exclusively non-free versions. This is used while enforcing NewerNoncurrentVersions lifecycle element.
    func getFileInfoVersions(xlMetaBuf []byte, volume, path string, inclFreeVersions bool) (FileInfoVersions, error) {
    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, true)
    	if err != nil {
    		return fivs, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

              public <T extends @Nullable Object> T[] toArray(T[] array) {
                T[] result = super.toArray(array);
                if (size() < result.length) {
                  // It works around a GWT bug where elements after last is not
                  // properly null'ed.
                  @Nullable Object[] unsoundlyCovariantArray = result;
                  unsoundlyCovariantArray[size()] = null;
                }
                return result;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. internal/s3select/select_test.go

    			wantResult: `{"_1":1.5,"_2":2.5}`,
    		},
    		{
    			name:  "limit-1",
    			query: `SELECT * FROM S3Object[*].elements[*] LIMIT 1`,
    			requestXML: []byte(`
    <?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
        <Expression>select * from s3object[*].elements[*] s where s.element_type = '__elem__merfu'</Expression>
        <ExpressionType>SQL</ExpressionType>
        <InputSerialization>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      public void testRemoveAtIndex_last() {
        runRemoveTest(getNumElements() - 1);
      }
    
      private void runRemoveTest(int index) {
        assertEquals(
            Platform.format("remove(%d) should return the element at index %d", index, index),
            getList().get(index),
            getList().remove(index));
        List<E> expected = copyToList(createSamplesArray());
        expected.remove(index);
        expectContents(expected);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top