Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 234 for Black (0.2 sec)

  1. pyproject.toml

        "F",  # pyflakes
        "I",  # isort
        "B",  # flake8-bugbear
        "C4",  # flake8-comprehensions
        "UP",  # pyupgrade
    ]
    ignore = [
        "E501",  # line too long, handled by black
        "B008",  # do not perform function calls in argument defaults
        "C901",  # too complex
        "W191",  # indentation contains tabs
    ]
    
    [tool.ruff.lint.per-file-ignores]
    "__init__.py" = ["F401"]
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:28:39 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/StreamsTest.java

    /** Unit test for {@link Streams}. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class StreamsTest extends TestCase {
      /*
       * Full and proper black-box testing of a Stream-returning method is extremely involved, and is
       * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and
       * just test that the toArray() contents are as expected.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        assertFailsWith<SSLPeerUnverifiedException> {
          execute(url)
        }
      }
    
      /**
       * Skips coalescing when hostname verifier is overridden since the intention of the hostname
       * verification is a black box.
       */
      @Test
      fun skipsWhenHostnameVerifierUsed() {
        val verifier = HostnameVerifier { name: String?, session: SSLSession? -> true }
        client = client.newBuilder().hostnameVerifier(verifier).build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultiset.java

       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple multisets in series.
       *
       * @since 2.0
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants.
    
      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
       * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants.
    
      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
       * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top