Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,615 for listOps (0.23 sec)

  1. pkg/util/oom/oom.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package oom
    
    // This is a struct instead of an interface to allow injection of process ID listers and
    // applying OOM score in tests.
    // TODO: make this an interface, and inject a mock ioutil struct for testing.
    type OOMAdjuster struct {
    	pidLister                 func(cgroupName string) ([]int, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 30 00:47:36 UTC 2016
    - 1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go

    					"val":  3,
    				},
    			}, multiKeyMapListSchema),
    			equal: false,
    		},
    		{
    			name:  "set lists are equal regardless of order",
    			lhs:   UnstructuredToVal([]interface{}{"a", "b"}, setListSchema),
    			rhs:   UnstructuredToVal([]interface{}{"b", "a"}, setListSchema),
    			equal: true,
    		},
    		{
    			name:  "set lists are not equal if contents differ",
    			lhs:   UnstructuredToVal([]interface{}{"a", "b"}, setListSchema),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_shorterList() {
        Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
        assertFalse(
            "Lists of different sizes should not be equal.",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LineBufferTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Lists;
    import java.io.BufferedReader;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.nio.CharBuffer;
    import java.util.Arrays;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/LineBufferTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Lists;
    import java.io.BufferedReader;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.nio.CharBuffer;
    import java.util.Arrays;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    package com.google.common.collect.testing;
    
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static java.util.Collections.emptyList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import java.util.Iterator;
    import java.util.List;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(Lists.newArrayList("a", "b"), list);
      }
    
      public void testCreation_threeElements() {
        List<String> list = ImmutableList.of("a", "b", "c");
        assertEquals(Lists.newArrayList("a", "b", "c"), list);
      }
    
      public void testCreation_fourElements() {
        List<String> list = ImmutableList.of("a", "b", "c", "d");
        assertEquals(Lists.newArrayList("a", "b", "c", "d"), list);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyModuleDescriptorConverter.java

     */
    
    package org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser;
    
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Sets;
    import org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor;
    import org.apache.ivy.core.module.descriptor.DependencyArtifactDescriptor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/StackTraceFilter.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.testing.logging;
    
    import com.google.common.collect.Lists;
    import org.gradle.api.specs.Spec;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    
    public class StackTraceFilter {
        private final Spec<StackTraceElement> filterSpec;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/collections/ListElementSource.java

        @Override
        public ListIterator<T> listIterator(int index) {
            return Lists.newArrayList(listIterator()).listIterator(index);
        }
    
        @Override
        public List<? extends T> subList(int fromIndex, int toIndex) {
            return Lists.newArrayList(listIterator()).subList(fromIndex, toIndex);
        }
    
        private List<T> asList() {
            return Lists.newArrayList(listIterator());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:15 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top