Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,818 for Result (0.06 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
        assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS));
        assertThat(target.finished).isTrue();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMultimap.java

      @Override
      public Set<K> keySet() {
        Set<K> result = keySet;
        return (result == null) ? keySet = createKeySet() : result;
      }
    
      abstract Set<K> createKeySet();
    
      @LazyInit @CheckForNull private transient Multiset<K> keys;
    
      @Override
      public Multiset<K> keys() {
        Multiset<K> result = keys;
        return (result == null) ? keys = createKeys() : result;
      }
    
      abstract Multiset<K> createKeys();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/MultiInputStream.java

        while (in != null) {
          int result = in.read();
          if (result != -1) {
            return result;
          }
          advance();
        }
        return -1;
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        checkNotNull(b);
        while (in != null) {
          int result = in.read(b, off, len);
          if (result != -1) {
            return result;
          }
          advance();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
          // the result will definitely fit into a long
          long result = 1;
          for (int i = n1 + 1; i <= n2; i++) {
            result *= i;
          }
          return BigInteger.valueOf(result);
        }
    
        /*
         * We want each multiplication to have both sides with approximately the same number of digits.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. internal/config/lambda/event/targetid_test.go

    	}
    
    	for i, testCase := range testCases {
    		result := testCase.tid.String()
    
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestTargetDToARN(t *testing.T) {
    	tid := TargetID{"1", "webhook"}
    	testCases := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. internal/event/targetid_test.go

    	}
    
    	for i, testCase := range testCases {
    		result := testCase.tid.String()
    
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestTargetDToARN(t *testing.T) {
    	tid := TargetID{"1", "webhook"}
    	testCases := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  7. cmd/batch-expire.go

    		versionsCount int
    		toDel         []expireObjInfo
    	)
    	failed := false
    	for result := range results {
    		if result.Err != nil {
    			failed = true
    			batchLogIf(ctx, result.Err)
    			continue
    		}
    
    		// Apply filter to find the matching rule to apply expiry
    		// actions accordingly.
    		// nolint:gocritic
    		if result.Item.IsLatest {
    			// send down filtered entries to be deleted using
    			// DeleteObjects method
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/MathBenchmarking.java

        BigInteger result;
        do {
          result = randomNonNegativeBigInteger(numBits);
        } while (result.signum() == 0);
        return result;
      }
    
      /**
       * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
       * the result is chosen uniformly at random in [0, numBits), and then the result is chosen in that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  9. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

                if (OperatingSystem.current().isWindows) {
                    commandLine = listOf("cmd.exe", "/d", "/c") + commandLine
                }
            }
            return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->
                if (result.exitValue == 0) outputText.trim()
                else "<unknown>" // It's a source distribution, we don't know.
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 10:02:49 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsAccessTokenBhv.java

        }
    
        @Override
        protected <RESULT extends AccessToken> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top