- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 4,271 for pbcopy (0.06 sec)
-
HashStringBenchmark.java
L1:/* L2: * Copyright (C) 2017 The Guava Authors L3: * L4: * Licensed under the Apache License, Version 2.0 (the "License"); L5: * you may not use this file except in compliance with the License. L6: * You may obtain a copy of the License at L7: * L8: * http://www.apache.org/licenses/LICENSE-2.0 L9: * L10: * Unless required by applicable law or agreed to in writing, software L11: * distributed under the License is distributed on an "AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,...github.com/google/guava/guava-tests/benchmark/c...Sat Oct 19 00:26:48 UTC 2024 5.2K bytes -
ClassIterator.java
L1:/* L2: * Copyright 2012-2024 CodeLibs Project and the Others. L3: * L4: * Licensed under the Apache License, Version 2.0 (the "License"); L5: * you may not use this file except in compliance with the License. L6: * You may obtain a copy of the License at L7: * L8: * http://www.apache.org/licenses/LICENSE-2.0 L9: * L10: * Unless required by applicable law or agreed to in writing, software L11: * distributed under the License is distributed on an "AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 4.2K bytes -
Tuple3.java
L1:/* L2: * Copyright 2012-2024 CodeLibs Project and the Others. L3: * L4: * Licensed under the Apache License, Version 2.0 (the "License"); L5: * you may not use this file except in compliance with the License. L6: * You may obtain a copy of the License at L7: * L8: * http://www.apache.org/licenses/LICENSE-2.0 L9: * L10: * Unless required by applicable law or agreed to in writing, software L11: * distributed under the License is distributed on an "AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 4.6K bytes -
ClassUtilTest.java
L1:/* L2: * Copyright 2012-2024 CodeLibs Project and the Others. L3: * L4: * Licensed under the Apache License, Version 2.0 (the "License"); L5: * you may not use this file except in compliance with the License. L6: * You may obtain a copy of the License at L7: * L8: * http://www.apache.org/licenses/LICENSE-2.0 L9: * L10: * Unless required by applicable law or agreed to in writing, software L11: * distributed under the License is distributed on an "AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS...github.com/codelibs/corelib/src/test/java/org/c...Thu Mar 07 01:59:08 UTC 2024 6.2K bytes -
MockResponse.kt
L1:/* L2: * Copyright (C) 2020 Square, Inc. L3: * L4: * Licensed under the Apache License, Version 2.0 (the "License"); L5: * you may not use this file except in compliance with the License. L6: * You may obtain a copy of the License at L7: * L8: * http://www.apache.org/licenses/LICENSE-2.0 L9: * L10: * Unless required by applicable law or agreed to in writing, software L11: * distributed under the License is distributed on an "AS IS" BASIS, L12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,...github.com/square/okhttp/mockwebserver-deprecat...Mon Jan 08 01:13:22 UTC 2024 7.2K bytes -
ImmutableSetTest.java
<Integer>) set).table.length); L315: } L316: L317: public void testCopyOf_copiesImmutableSortedSet() { L318: ImmutableSortedSet<String> sortedSet = ImmutableSortedSet.of("a"); L319: ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet); L320: assertNotSame(sortedSet, copy); L321: } L322: L323: // TODO(b/172823566): Use mainline testToImmutableSet once CollectorTester is usable to java7. L324: public void testToImmutableSet_java7() { L325: ImmutableSet.Builder<String> zis = ...github.com/google/guava/android/guava-tests/tes...Wed Oct 30 16:15:19 UTC 2024 13.7K bytes -
TreeRangeMapTest.java
TreeRangeMap.create(); L708: rangeMap.put(Range.open(3, 7), 1); L709: rangeMap.put(Range.closed(9, 10), 2); L710: rangeMap.put(Range.closed(12, 16), 3); L711: L712: RangeMap<Integer, Integer> copy = TreeRangeMap.copyOf(rangeMap); L713: L714: assertEquals(rangeMap.asMapOfRanges(), copy.asMapOfRanges()); L715: } L716: L717: public void testCopyOfImmutableRangeMap() { L718: ImmutableRangeMap<Integer, Integer> rangeMap = L719: ImmutableRangeMap.<Integer, Integer>builder() L720:...github.com/google/guava/android/guava-tests/tes...Sun Oct 06 13:04:03 UTC 2024 29.9K bytes -
Collections2.java
methods, such as {@code size()}, iterate across every L74: * element in the underlying collection and determine which elements satisfy the filter. When a L75: * live view is <i>not</i> needed, it may be faster to copy {@code Iterables.filter(unfiltered, L76: * predicate)} and use the copy. L77: * L78: * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at L79: * {@link Predicate#apply}. Do not provide a predicate such as {@code L80: * Predicates.in...github.com/google/guava/android/guava/src/com/g...Fri Oct 18 20:24:49 UTC 2024 22.8K bytes -
CopyUtilTest.java
length)); L138: L139: result = copy(outputFile, "UTF-8", writer); L140: assertThat(writer.toString(), is(urlString)); L141: } L142: L143: /** L144: * @throws Exception L145: */ L146: @Test L147: public void testFileToFile_Encoding() throws Exception { L148: int result = copy(inputFile, "UTF-8", outputFile, "Shift_JIS"); L149: assertThat(result, is(urlString.length())); L150: L151: result = copy(outputFile, "Shift_JIS", writer); L152: ...github.com/codelibs/corelib/src/test/java/org/c...Thu Mar 07 01:59:08 UTC 2024 4.6K bytes -
AbstractIteratorTester.java
AssertionError("failed with stimuli " + subListCopy(stimuli, i + 1), cause); L363: } L364: } L365: } L366: L367: private static List<Object> subListCopy(Object[] source, int size) { L368: final Object[] copy = new Object[size]; L369: arraycopy(source, 0, copy, 0, size); L370: return asList(copy); L371: } L372: L373: private interface IteratorOperation { L374: @Nullable Object execute(Iterator<?> iterator); L375: } L376: L377: /** L378: * Apply this method to both iterators and return...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 20.6K bytes