Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 1,980 for size0 (0.06 sec)

  1. guava/src/com/google/common/io/CharSource.java

        try {
          closeable.close();
        } catch (IOException e) {
          throw new UncheckedIOException(e);
        }
      }
    
      /**
       * Returns the size of this source in chars, if the size can be easily determined without actually
       * opening the data stream.
       *
       * <p>The default implementation returns {@link Optional#absent}. Some sources, such as a {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    final String[] deduped = dedupe(elements);
                    return new AbstractSet<String>() {
                      @Override
                      public int size() {
                        return deduped.length;
                      }
    
                      @Override
                      public Iterator<String> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeBasedTable.java

     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
     * <p>Because a {@code TreeBasedTable} has unique sorted values for a given row, both {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharStreams.java

          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
      // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able
      // to reuse buffers, others would be able to size them more appropriately than the constant
      // defaults
    
      /**
       * Copies all characters between the {@link Reader} and {@link StringBuilder} objects. Does not
       * close or flush the reader.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. tests/associations_test.go

    	Name string
    	Pets []AssociationEmptyPet
    }
    
    type AssociationEmptyPet struct {
    	AssociationEmptyUserID *uint  `gorm:"uniqueIndex:uniq_user_id_name"`
    	Name                   string `gorm:"uniqueIndex:uniq_user_id_name;size:256"`
    }
    
    func TestAssociationEmptyPrimaryKey(t *testing.T) {
    	if DB.Dialector.Name() != "mysql" {
    		t.Skip()
    	}
    	DB.Migrator().DropTable(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. tests/scanner_valuer_test.go

    	case string:
    		return json.Unmarshal([]byte(value), l)
    	case []byte:
    		return json.Unmarshal(value, l)
    	default:
    		return errors.New("not supported")
    	}
    }
    
    type Role struct {
    	Name string `gorm:"size:256"`
    }
    
    func (role *Role) Scan(value interface{}) error {
    	if b, ok := value.([]uint8); ok {
    		role.Name = string(b)
    	} else {
    		role.Name = value.(string)
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeMultiset.java

          return aggr.treeAggregate(node.right)
              + aggr.nodeAggregate(node)
              + aggregateAboveRange(aggr, node.left);
        }
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(aggregateForEntries(Aggregate.SIZE));
      }
    
      @Override
      int distinctElements() {
        return Ints.saturatedCast(aggregateForEntries(Aggregate.DISTINCT));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      for ((name, value) in this) {
        builder.addLenient(name.utf8(), value.utf8())
      }
      return builder.build()
    }
    
    internal fun Headers.toHeaderList(): List<Header> =
      (0 until size).map {
        Header(name(it), value(it))
      }
    
    /** Returns true if an HTTP request for this URL and [other] can reuse a connection. */
    internal fun HttpUrl.canReuseConnectionFor(other: HttpUrl): Boolean =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                    tagList.add(key);
                }
                runtime.registerData("popularWords", popularWordHelper.getWordList(SearchRequestType.SEARCH, null,
                        tagList.toArray(new String[tagList.size()]), null, null, null));
            }
            return super.hookBefore(runtime);
        }
    
        @Override
        protected OptionalThing<LoginManager> myLoginManager() {
            return OptionalThing.empty();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        assertEquals(
            "multiset.entrySet() iterator.next() returned incorrect entry",
            Multisets.immutableEntry(e0(), 1),
            iterator.next());
        assertFalse(
            "size 1 multiset.entrySet() iterator.hasNext() returned true after next()",
            iterator.hasNext());
        iterator.remove();
        assertTrue(
            "multiset isn't empty after multiset.entrySet() iterator.remove()",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top