Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,818 for Result (0.04 sec)

  1. android/guava/src/com/google/common/cache/AbstractCache.java

        Map<K, V> result = Maps.newLinkedHashMap();
        for (Object key : keys) {
          if (!result.containsKey(key)) {
            @SuppressWarnings("unchecked")
            K castKey = (K) key;
            V value = getIfPresent(key);
            if (value != null) {
              result.put(castKey, value);
            }
          }
        }
        return ImmutableMap.copyOf(result);
      }
    
      /** @since 11.0 */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

          length += array.length;
        }
        boolean[] result = new boolean[checkNoOverflow(length)];
        int pos = 0;
        for (boolean[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Booleans.java

          length += array.length;
        }
        boolean[] result = new boolean[checkNoOverflow(length)];
        int pos = 0;
        for (boolean[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

       * contains {@link Double#NEGATIVE_INFINITY} and not {@link Double#NaN} then the result is {@link
       * Double#NEGATIVE_INFINITY}. If it contains {@link Double#POSITIVE_INFINITY} and finite values
       * only then the result is the lowest finite value. If it contains {@link
       * Double#POSITIVE_INFINITY} only then the result is {@link Double#POSITIVE_INFINITY}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/sds/util.go

    				s.name, s.source, err)
    			result.Valid = false
    			return result, nil
    		}
    		result.SecretMeta = meta
    		result.Valid = meta.Valid
    		return result, nil
    	}
    	result.Valid = false
    	return result, nil
    }
    
    // GetEnvoySecrets parses the secrets section of the config dump into []SecretItem
    func GetEnvoySecrets(
    	wrapper *configdump.Wrapper,
    ) ([]SecretItem, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

        val result = mutableListOf<HeldCertificate>()
        for (i in 1..length) {
          result.add(
            0,
            HeldCertificate.Builder()
              .signedBy(if (result.isNotEmpty()) result[0] else null)
              .certificateAuthority(length - i)
              .serialNumber(i.toLong())
              .build(),
          )
        }
        return result
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils_test.go

    	}
    
    	// Tests generated values from url encoded name.
    	for i, testCase := range testCases {
    		result := signV4TrimAll(testCase.inputStr)
    		if testCase.result != result {
    			t.Errorf("Test %d: Expected signV4TrimAll result to be \"%s\", but found it to be \"%s\" instead", i+1, testCase.result, result)
    		}
    	}
    }
    
    // Test getContentSha256Cksum
    func TestGetContentSha256Cksum(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. cmd/update_test.go

    				t.Errorf("case %d: result: expected: %v, got: %x", i+1, testCase.expectedSha256hex, sha256Sum)
    			}
    			if !testCase.expectedResult.Equal(result) {
    				t.Errorf("case %d: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    			}
    			if testCase.expectedReleaseInfo != releaseInfo {
    				t.Errorf("case %d: result: expected: %v, got: %v", i+1, testCase.expectedReleaseInfo, releaseInfo)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ObjectArrays.java

      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        arraycopy(first, 0, result, 0, first.length);
        arraycopy(second, 0, result, first.length, second.length);
        return result;
      }
    
      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                    boolean result = propValue.equals(sysValue);
    
                    if (reverseValue) {
                        return !result;
                    } else {
                        return result;
                    }
                } else {
                    boolean result = sysValue != null && !sysValue.isEmpty();
    
                    if (reverseName) {
                        return !result;
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top