Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2021 - 2030 of 2,063 for Defaults (0.09 sec)

  1. src/bytes/buffer_test.go

    			wantError := "bytes.Buffer: reader returned negative count from Read"
    			if err.Error() != wantError {
    				t.Fatalf("recovered panic: got %v, want %v", err.Error(), wantError)
    			}
    		default:
    			t.Fatalf("unexpected panic value: %#v", err)
    		}
    	}()
    
    	b.ReadFrom(new(negativeReader))
    }
    
    func TestWriteTo(t *testing.T) {
    	var buf Buffer
    	for i := 3; i < 30; i += 3 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    	if err != nil {
    		switch err.(type) {
    		case InvalidUploadID:
    			t.Fatalf("%s: New Multipart upload failed to create uuid file.", instanceType)
    		default:
    			t.Fatal(err.Error())
    		}
    	}
    }
    
    // Wrapper for calling AbortMultipartUpload tests for both Erasure multiple disks and single node setup.
    func TestObjectAbortMultipartUpload(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(42, queue.maximumSize);
        assertSame(SOME_COMPARATOR, queue.comparator());
      }
    
      // TODO: tests that check the weird interplay between expected size,
      // maximum size, size of initial contents, default capacity...
    
      private static void checkNatural(MinMaxPriorityQueue<Integer> queue) {
        assertSame(Ordering.natural(), queue.comparator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertSame(CharMatcher.none(), CharMatcher.none().and(WHATEVER));
        assertSame(WHATEVER, CharMatcher.none().or(WHATEVER));
      }
    
      // The rest of the behavior of ANY and DEFAULT will be covered in the tests for
      // the text processing methods below.
    
      public void testWhitespaceBreakingWhitespaceSubset() throws Exception {
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

     */
    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ImmutableSet.CachingAsList<E>
        implements NavigableSet<E>, SortedIterable<E> {
      static final int SPLITERATOR_CHARACTERISTICS =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/MoreExecutors.java

              @Override
              public void run() {
                queue.add(future);
              }
            },
            directExecutor());
        return future;
      }
    
      /**
       * Returns a default thread factory used to create new threads.
       *
       * <p>When running on AppEngine with access to <a
       * href="https://cloud.google.com/appengine/docs/standard/java/javadoc/">AppEngine legacy
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

              requireNonNull(left);
              if (left.balanceFactor() < 0) {
                left = left.rotateLeft();
              }
              return rotateRight();
            default:
              recomputeHeight();
              return this;
          }
        }
    
        private int balanceFactor() {
          return height(left) - height(right);
        }
    
        private AvlNode<E> rotateLeft() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
                        setSessionSetup(response);
                        state = 0;
                        break;
                    }
                    break;
                default:
                    throw new SmbException("Unexpected session setup state: " + state);
    
                }
            }
            while ( state != 0 );
        }
    
    
        @SuppressWarnings ( "deprecation" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            )
            .hostnameVerifier(hostnameVerifier)
            .build()
        host = "${server.hostName}:${server.port}"
        url = server.url("/")
      }
    
      @Test
      fun levelGetter() {
        // The default is NONE.
        assertThat(applicationInterceptor.level).isEqualTo(Level.NONE)
        for (level in Level.entries) {
          applicationInterceptor.setLevel(level)
          assertThat(applicationInterceptor.level).isEqualTo(level)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  10. api/go1.21.txt

    pkg log/slog, func BoolValue(bool) Value #56345
    pkg log/slog, func DebugContext(context.Context, string, ...interface{}) #61200
    pkg log/slog, func Debug(string, ...interface{}) #56345
    pkg log/slog, func Default() *Logger #56345
    pkg log/slog, func Duration(string, time.Duration) Attr #56345
    pkg log/slog, func DurationValue(time.Duration) Value #56345
    pkg log/slog, func ErrorContext(context.Context, string, ...interface{}) #61200
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top