- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 1,418 for were (0.03 sec)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
} public File translatePath(File path) { File result = path; if (path != null && basedir != null) { if (path.isAbsolute()) { // path is already absolute, we're done } else if (path.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with base dir but with drive root result = path.getAbsoluteFile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_benchmark_test.go
buf := make([]byte, 512) b.ResetTimer() for i := 0; i < b.N; i++ { rb.Write(data) rb.Read(buf) } } func BenchmarkRingBuffer_AsyncRead(b *testing.B) { // Pretty useless benchmark, but it's here for completeness. rb := New(1024) data := []byte(strings.Repeat("a", 512)) buf := make([]byte, 512) go func() { for { rb.Read(buf) } }() b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt
@JvmField val name: ByteString, /** Value in UTF-8 encoding. */ @JvmField val value: ByteString, ) { @JvmField val hpackSize = 32 + name.size + value.size // TODO: search for toLowerCase and consider moving logic here. constructor(name: String, value: String) : this(name.encodeUtf8(), value.encodeUtf8()) constructor(name: ByteString, value: String) : this(name, value.encodeUtf8())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
static CharMatcher precomputeCharMatcher(CharMatcher matcher) { // CharMatcher.precomputed() produces CharMatchers that are maybe a little // faster (and that's debatable), but definitely more memory-hungry. We're // choosing to turn .precomputed() into a no-op in GWT, because it doesn't // seem to be a worthwhile tradeoff in a browser. return matcher; } static String formatCompact4Digits(double value) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 27 13:56:56 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
} catch( UnsupportedEncodingException uee ) { return 0; } bufferIndex += len + 1; // win98 observed not returning nativeFileSystem /* Problems here with iSeries returning ASCII even though useUnicode = true * Fortunately we don't really need nativeFileSystem for anything. if( byteCount > bufferIndex - start ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable; /** * A conflict resolver factory that obtains instances from a plexus container. * * TODO you don't need the container in here with the active maps (jvz). * @since 3.0 */ @Named @Singleton @Deprecated public class DefaultConflictResolverFactory implements ConflictResolverFactory, Contextualizable {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java
return unsafeDelegateList(delegateList().subList(fromIndex, toIndex)); } @Override public Object[] toArray() { // Note that ArrayList.toArray() doesn't work here because it returns E[] // instead of Object[]. return delegateList().toArray(new Object[size()]); } @Override public boolean equals(@Nullable Object obj) { return delegateList().equals(obj); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableSet.java
@SuppressWarnings("serial") // uses writeReplace(), not default serialization @ElementTypesAreNonnullByDefault final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes. final transient E element; SingletonImmutableSet(E element) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
@SuppressWarnings("serial") // uses writeReplace(), not default serialization @ElementTypesAreNonnullByDefault final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes. final transient E element; SingletonImmutableSet(E element) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0)