Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 4,008 for pbcopy (0.03 sec)

  1. 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
  2. UnmodifiableCollectionTests.java

    = new ArrayList<>(); L120: siblingCollection.add(sampleElement); L121: L122: Collection<E> copy = new ArrayList<>(); L123: copy.addAll(collection); L124: L125: try { L126: collection.add(sampleElement); L127: fail("add succeeded on unmodifiable collection"); L128: } catch (UnsupportedOperationException expected) { L129: } L130: L131: assertCollectionsAreEquivalent(copy, collection); L132: L133: try { L134: collection.addAll(siblingCollection); L135: fail("addAll...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      14.6K bytes
  3. HashMultisetTest.java

    SerializableTester L97: public void testSerializationContainingSelf() { L98: Multiset<Multiset<?>> multiset = HashMultiset.create(); L99: multiset.add(multiset, 2); L100: Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); L101: assertEquals(2, copy.size()); L102: assertSame(copy, copy.iterator().next()); L103: } L104: L105: @J2ktIncompatible L106: @GwtIncompatible // Only used by @GwtIncompatible code L107: private static class MultisetHolder implements Serializable {...
    github.com/google/guava/android/guava-tests/tes...
    Sat Oct 19 00:05:46 UTC 2024
      4.4K bytes
  4. BiMapInverseTester.java

    L52: public void testInverseSerialization() { L53: BiMapPair<K, V> pair = new BiMapPair<>(getMap()); L54: BiMapPair<K, V> copy = SerializableTester.reserialize(pair); L55: assertEquals(pair.forward, copy.forward); L56: assertEquals(pair.backward, copy.backward); L57: assertSame(copy.backward, copy.forward.inverse()); L58: assertSame(copy.forward, copy.backward.inverse()); L59: } L60: L61: private static class BiMapPair<K, V> implements Serializable { L62: final BiMap<K, V>...
    github.com/google/guava/android/guava-testlib/s...
    Wed Jul 24 20:12:35 UTC 2024
      3K bytes
  5. LICENSE

    thereof in any medium, with or without L92: modifications, and in Source or Object form, provided that You L93: meet the following conditions: L94: L95: (a) You must give any other recipients of the Work or L96: Derivative Works a copy of this License; and L97: L98: (b) You must cause any modified files to carry prominent notices L99: stating that You changed the files; and L100: L101: (c) You must retain, in the Source form of any Derivative Works L102: ...
    github.com/kubernetes/kubernetes/LICENSES/third...
    Tue Oct 22 13:56:22 UTC 2024
      10.5K bytes
  6. DelegatingSSLSocket.kt

    L1:/* L2: * Copyright 2014 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, either...
    github.com/square/okhttp/okhttp-testing-support...
    Mon Jan 08 01:13:22 UTC 2024
      7.9K bytes
  7. AdminRoleAction.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/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      10.8K bytes
  8. TermQueryCommandTest.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/fess/src/test/java/org/code...
    Thu Jul 11 08:26:36 UTC 2024
      9.2K bytes
  9. CertificatePinnerKotlinTest.kt

    L1:/* L2: * Copyright (C) 2014 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/okhttp/src/test/java/o...
    Mon Jan 08 01:13:22 UTC 2024
      8.1K bytes
  10. CipherSuiteTest.kt

    L1:/* L2: * Copyright (C) 2016 Google 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/okhttp/src/test/java/o...
    Mon Jan 08 01:13:22 UTC 2024
      8.2K bytes
Back to top