Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,100 for ndarray (0.1 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * array is that of the specified array. The returned array elements are in no particular order.
       * If the queue fits in the specified array, it is returned therein. Otherwise, a new array is
       * allocated with the runtime type of the specified array and the size of this queue.
       *
       * <p>If this queue fits in the specified array with room to spare (i.e., the array has more
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    		return true
    	}
    	return false
    }
    
    // IsMissing - checks if value is missing.
    func (v Value) IsMissing() bool {
    	_, ok := v.value.(Missing)
    	return ok
    }
    
    // IsArray returns whether the value is an array.
    func (v Value) IsArray() (ok bool) {
    	_, ok = v.value.([]Value)
    	return ok
    }
    
    func (v Value) isNumeric() bool {
    	//nolint:gocritic
    	switch v.value.(type) {
    	case int64, float64:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        String[] array = Iterators.toArray(iterator, String.class);
        assertTrue(Arrays.equals(new String[] {"a"}, array));
      }
    
      @GwtIncompatible // Iterators.toArray(Iterator, Class)
      public void testToArray() {
        String[] sourceArray = new String[] {"a", "b", "c"};
        Iterator<String> iterator = asList(sourceArray).iterator();
        String[] newArray = Iterators.toArray(iterator, String.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        // Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class
        // rather than mocking to ensure that one of those methods is called.
        class TestArrayList<E> extends ArrayList<E> {
          boolean toArrayCalled = false;
    
          @Override
          public Object[] toArray() {
            toArrayCalled = true;
            return super.toArray();
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public @Nullable Object[] toArray() {
        return standardToArray();
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return standardToArray(array);
      }
    
      @Override
      public String toString() {
        return entrySet().toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

          delegate.clear();
        }
    
        @Override
        public Object[] toArray() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray(array);
        }
    
        @Override
        public void addFirst(E e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/DescendingMultiset.java

        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public @Nullable Object[] toArray() {
        return standardToArray();
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return standardToArray(array);
      }
    
      @Override
      public String toString() {
        return entrySet().toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

                    SID[] resolved = list.toArray(new SID[list.size()]);
                    resolveSids0(authorityServerName, tc, resolved);
                    for ( si = 0; si < resolved.length; si++ ) {
                        this.sidCache.put(resolved[ si ], resolved[ si ]);
                    }
                }
            }
        }
    
    
        /**
         * Resolve an array of SIDs using a cache and at most one MSRPC request.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
        arrayList = Lists.newArrayListWithCapacity(size);
        linkedList = Lists.newLinkedList();
    
        for (int i = 0; i < size; i++) {
          Object value = new Object();
          array[i] = value;
          arrayList.add(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/CharEscaperBuilder.java

    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
     * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a
     * CharEscaper based on the generated array.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top