Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for bug (0.13 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testRawTypeIsCorrect() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <T> void testVariableTypeTokenNotAllowed() {
        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testRawTypeIsCorrect() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	// FIXME: Remove following portion of code after fixing a bug in minio-go preSignV2.
    
    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    	expiresStr := req.Header.Get("Expires")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        Assumptions.assumeFalse(windows) // Can't deleteContents while the journal is open.
    
        filesystem.deleteRecursively(cacheDir)
        assertThat(cache["a"]).isNull()
      }
    
      /**
       * We had a long-lived bug where [DiskLruCache.trimToSize] could infinite loop if entries
       * being edited required deletion for the operation to complete.
       */
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    			// for users who might have used master
    			// branch
    			xlMeta.data.remove(versionID, dataDir)
    
    			// We need to attempt delete "dataDir" on the disk
    			// due to a CopyObject() bug where it might have
    			// inlined the data incorrectly, to avoid a situation
    			// where we potentially leave "DataDir"
    			filePath := pathJoin(volumeDir, path, dataDir)
    			if err = checkPathLength(filePath); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Preconditions.java

       * The alternative natural refactorings into void or Exception-returning methods are much slower.
       * This is a big deal - we're talking factors of 2-8 in microbenchmarks, not just 10-20%. (This is
       * a hotspot optimizer bug, which should be fixed, but that's a separate, big project).
       *
       * The coding pattern above is heavily used in java.util, e.g. in ArrayList. There is a
       * RangeCheckMicroBenchmark in the JDK that was used to test this.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Preconditions.java

       * The alternative natural refactorings into void or Exception-returning methods are much slower.
       * This is a big deal - we're talking factors of 2-8 in microbenchmarks, not just 10-20%. (This is
       * a hotspot optimizer bug, which should be fixed, but that's a separate, big project).
       *
       * The coding pattern above is heavily used in java.util, e.g. in ArrayList. There is a
       * RangeCheckMicroBenchmark in the JDK that was used to test this.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response3.body.string()).isEqualTo("def")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1) // New connection.
      }
    
      /**
       * We had a bug where we'd perform infinite retries of route that fail with connection shutdown
       * errors. The problem was that the logic that decided whether to reuse a route didn't track
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

         * same notion of equivalence.
         *
         * @return a reference to {@code set}, for convenience
         */
        // Note: S should logically extend Set<? super E> but can't due to either
        // some javac bug or some weirdness in the spec, not sure which.
        @CanIgnoreReturnValue
        public <S extends Set<E>> S copyInto(S set) {
          set.addAll(this);
          return set;
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. cmd/iam.go

    	inheritedPolicyType = "inherited-policy"
    )
    
    // IAMSys - config system.
    type IAMSys struct {
    	// Need to keep them here to keep alignment - ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	// metrics
    	LastRefreshTimeUnixNano         uint64
    	LastRefreshDurationMilliseconds uint64
    	TotalRefreshSuccesses           uint64
    	TotalRefreshFailures            uint64
    
    	sync.Mutex
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top