Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 1,492 for eles (0.1 sec)

  1. guava-tests/test/com/google/common/math/DoubleMathTest.java

          int log2 = DoubleMath.log2(d, DOWN);
          if (d >= 1.0) {
            assertTrue(log2 >= 0);
            assertTrue(StrictMath.pow(2.0, log2) <= d);
            assertTrue(StrictMath.pow(2.0, log2 + 1) > d);
          } else {
            assertTrue(log2 <= 0);
            assertTrue(StrictMath.pow(2.0, log2) >= d);
            assertTrue(StrictMath.pow(2.0, log2 - 1) < d);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. cmd/metrics-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "StaticLabels")
    				return
    			}
    			if z.StaticLabels == nil {
    				z.StaticLabels = make(map[string]string, zb0002)
    			} else if len(z.StaticLabels) > 0 {
    				for key := range z.StaticLabels {
    					delete(z.StaticLabels, key)
    				}
    			}
    			for zb0002 > 0 {
    				var za0001 string
    				var za0002 string
    				zb0002--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. tests/table_test.go

    		if !regexp.MustCompile(`INSERT INTO .gorm.\..user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) {
    			t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    		}
    	} else {
    		if !regexp.MustCompile(`INSERT INTO .user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) {
    			t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    		}
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    val Project.flakyTestStrategy: FlakyTestStrategy
        get() = gradleProperty(FLAKY_TEST).let {
            if (it.getOrElse("").isEmpty()) {
                return FlakyTestStrategy.INCLUDE
            } else {
                return FlakyTestStrategy.valueOf(it.get().toUpperCaseAsciiOnly())
            }
        }
    
    
    val Project.ignoreIncomingBuildReceipt: Provider<Boolean>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/TempFileCreator.java

            directoryPermissions = () -> asFileAttribute(PosixFilePermissions.fromString("rwx------"));
          } else if (views.contains("acl")) {
            filePermissions = directoryPermissions = userPermissions();
          } else {
            filePermissions =
                directoryPermissions =
                    () -> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    val Response.commonIsRedirect: Boolean
      get() =
        when (code) {
          HTTP_PERM_REDIRECT, HTTP_TEMP_REDIRECT, HTTP_MULT_CHOICE, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_SEE_OTHER -> true
          else -> false
        }
    
    val Response.commonCacheControl: CacheControl
      get() {
        var result = lazyCacheControl
        if (result == null) {
          result = CacheControl.parse(headers)
          lazyCacheControl = result
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

        Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures());
        if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) {
          return new TestSuite();
        } else {
          return SetTestSuiteBuilder.using(
                  new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
              .named(parentBuilder.getName() + ".asMap[].get[key]")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

              boolean haveBeenCalled;
    
              @Override
              public Integer computeNext() {
                if (haveBeenCalled) {
                  throw new AssertionError("Should not have been called again");
                } else {
                  haveBeenCalled = true;
                  sneakyThrow(new SomeCheckedException());
                  throw new AssertionError(); // unreachable
                }
              }
            };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top