Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 530 for cell (0.15 sec)

  1. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        @Override
        public Set<Cell<String, Integer, Character>> create(Object... elements) {
          Table<String, Integer, Character> table = createTable();
          for (Object element : elements) {
            @SuppressWarnings("unchecked")
            Cell<String, Integer, Character> cell = (Cell<String, Integer, Character>) element;
            table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Striped64.java

        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TablesTest.java

      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        SerializableTester.reserializeAndAssert(entry);
      }
    
      public void testImmutableEntryToString() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TableCollectors.java

                    valueFunction.apply(input),
                    mergeFunction),
            (table1, table2) -> {
              for (Table.Cell<R, C, V> cell2 : table2.cellSet()) {
                mergeTables(
                    table1, cell2.getRowKey(), cell2.getColumnKey(), cell2.getValue(), mergeFunction);
              }
              return table1;
            });
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Striped64.java

        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TablesTest.java

      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        SerializableTester.reserializeAndAssert(entry);
      }
    
      public void testImmutableEntryToString() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Striped64.java

        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
          if ((as = cells) != null && (n = as.length) > 0) {
            if ((a = as[(n - 1) & h]) == null) {
              if (busy == 0) { // Try to attach new Cell
                Cell r = new Cell(x); // Optimistically create
                if (busy == 0 && casBusy()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

      return context->GetContextId();
    }
    
    void TFE_MonitoringCounterCellIncrementBy(TFE_MonitoringCounterCell* cell,
                                              int64_t value) {
      cell->cell.IncrementBy(value);
    }
    
    int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) {
      return cell->cell.value();
    }
    
    TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  9. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

                });
        try {
          Cell<String, String, @Nullable Integer> cell = immutableCell("one", "uno", null);
          Stream.of((Cell<String, String, Integer>) cell).collect(collector);
          fail("Expected NullPointerException");
        } catch (NullPointerException expected) {
        }
      }
    
      public void testToTableConflict() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        @Override
        public Set<Cell<String, Integer, Character>> create(Object... elements) {
          Table<String, Integer, Character> table = createTable();
          for (Object element : elements) {
            @SuppressWarnings("unchecked")
            Cell<String, Integer, Character> cell = (Cell<String, Integer, Character>) element;
            table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
Back to top