Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for getCell (0.17 sec)

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

     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class RegularImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
      RegularImmutableTable() {}
    
      abstract Cell<R, C, V> getCell(int iterationIndex);
    
      @Override
      final ImmutableSet<Cell<R, C, V>> createCellSet() {
        return isEmpty() ? ImmutableSet.<Cell<R, C, V>>of() : new CellSet();
      }
    
      @WeakOuter
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_reader.h

    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    // and then incremented that counter for various values of label:
    // streamz->GetCell("label-value")->IncrementBy(1);
    //
    // The test code can then read and test the value of that counter:
    //
    // auto* reader = TFE_MonitoringNewCounterReader("name");
    // test();
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SparseImmutableTable.java

        return ImmutableMap.<R, Map<C, V>>copyOf(rowMap);
      }
    
      @Override
      public int size() {
        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
        int rowIndex = cellRowIndices[index];
        Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex);
        ImmutableMap<C, V> row = rowEntry.getValue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/references/ReadWriteAccessCheckerDescriptorsImpl.kt

    import org.jetbrains.kotlin.idea.references.ReadWriteAccessChecker
    import org.jetbrains.kotlin.psi.KtBinaryExpression
    import org.jetbrains.kotlin.psi.KtExpression
    import org.jetbrains.kotlin.resolve.calls.util.getCall
    import org.jetbrains.kotlin.resolve.calls.util.getResolvedCall
    import org.jetbrains.kotlin.resolve.references.ReferenceAccess
    import org.jetbrains.kotlin.types.expressions.OperatorConventions
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 10 16:23:23 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/UnannotatedJavaClass.java

     */
    
    package com.google.common.base;
    
    /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */
    final class UnannotatedJavaClass {
      static Object getNull() {
        return null;
      }
    
      private UnannotatedJavaClass() {}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 02 17:05:25 GMT 2023
    - 854 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

        assertSame(Boolean.TRUE, forward.getUnchecked("key"));
      }
    
      public void testGetAll() throws ExecutionException {
        when(mock.getAll(ImmutableList.of("key"))).thenReturn(ImmutableMap.of("key", Boolean.TRUE));
        assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key")));
      }
    
      public void testApply() {
        when(mock.apply("key")).thenReturn(Boolean.TRUE);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. internal/store/batch.go

    		return ErrBatchFull
    	}
    
    	if _, ok := b.items[key]; !ok {
    		b.keys = append(b.keys, key)
    	}
    	b.items[key] = item
    
    	return nil
    }
    
    // GetAll fetches the items and resets the batch
    // Returned items are not referenced by the batch
    func (b *Batch[K, T]) GetAll() (orderedKeys []K, orderedItems []T, err error) {
    	b.Lock()
    	defer b.Unlock()
    
    	orderedKeys = append([]K(nil), b.keys...)
    	for _, key := range orderedKeys {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/UnannotatedJavaClass.java

     */
    
    package com.google.common.base;
    
    /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */
    final class UnannotatedJavaClass {
      static Object getNull() {
        return null;
      }
    
      private UnannotatedJavaClass() {}
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Aug 02 17:05:25 GMT 2023
    - 854 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link
       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link
       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top