Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 829 for element1 (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
      void setUp() {
        CollectionBenchmarkSampleData sampleData =
            new CollectionBenchmarkSampleData(true, random, 0.8, size);
        setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet());
      }
    
      @Benchmark
      int iteration(int reps) {
        int x = 0;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
      void setUp() {
        CollectionBenchmarkSampleData sampleData =
            new CollectionBenchmarkSampleData(true, random, 0.8, size);
        setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet());
      }
    
      @Benchmark
      int iteration(int reps) {
        int x = 0;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  3. utils/utils_test.go

    			}
    		})
    	}
    }
    
    func TestRTrimSlice(t *testing.T) {
    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    		{
    			name:     "Trim two elements from end",
    			input:    []int{1, 2, 3, 4, 5},
    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/delmarker-expiration.go

    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.
    func (de DelMarkerExpiration) Empty() bool {
    	return de.Days == 0
    }
    
    // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
    func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableTable<R, C, V> extends AbstractTable<R, C, V>
        implements Serializable {
    
      /**
       * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each
       * input element is mapped to one cell in the returned table, with the rows, columns, and values
       * generated by applying the specified functions.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/InvalidParameterException.java

     */
    package org.apache.maven.plugin.descriptor;
    
    /**
     */
    public class InvalidParameterException extends InvalidPluginDescriptorException {
        public InvalidParameterException(String element, int i) {
            super("The " + element + " element in parameter # " + i + " is invalid. It cannot be null.");
        }
    
        public InvalidParameterException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingListIterator.java

      /** Constructor for use by subclasses. */
      protected ForwardingListIterator() {}
    
      @Override
      protected abstract ListIterator<E> delegate();
    
      @Override
      public void add(@ParametricNullness E element) {
        delegate().add(element);
      }
    
      @Override
      public boolean hasPrevious() {
        return delegate().hasPrevious();
      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        StackTraceElement[] elements = e.getStackTrace();
        for (int i = 0; i < elements.length; i++) {
          StackTraceElement element = elements[i];
          if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
            return i;
          }
        }
        throw new AssertionError(
            "Expected element " + clazz + "." + method + " not found in stack trace", e);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. src/main/webapp/css/admin/html5shiv.min.js

    c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.ca...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Dec 31 23:16:54 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/xml/XmlEscapers.java

       * safely be included in an XML document as element content. See section <a
       * href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax">2.4</a> of the XML specification.
       *
       * <p><b>Note:</b> Double and single quotes are not escaped, so it is <b>not safe</b> to use this
       * escaper to escape attribute values. Use {@link #xmlContentEscaper} if the output can appear in
       * element content or {@link #xmlAttributeEscaper} in attribute values.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
Back to top