Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 70 for bonus (0.02 seconds)

  1. guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      public void testPadStart_negativeMinLength() {
        assertThat(Strings.padStart("x", -1, '-')).isSameInstanceAs("x");
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class ArrayBasedEscaperMapTest extends TestCase {
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullMap() {
        assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null));
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        assertThrows(IllegalArgumentException.class, () -> escapeAsString(SIMPLE_ESCAPER, test));
      }
    
      @SuppressWarnings("nullness") // test of bogus call
      public void testNullInput() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
        assertThrows(NullPointerException.class, () -> e.escape((String) null));
      }
    
      public void testBadStrings() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertThat(e.escape("foo%7Cbar")).isEqualTo("foo%7Cbar"); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      @SuppressWarnings("nullness") // test of a bogus call
      public void testBadArguments_null() {
        assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      @SuppressWarnings("nullness") // test of a bogus call
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  6. docs/tr/docs/advanced/stream-data.md

    {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}
    
    ### Tip Annotasyonu Yok { #no-annotation }
    
    İkili (binary) veri akıtıyorsanız dönüş tipi annotasyonu belirtmeniz şart değildir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * than relying on the one from the system property.
         *
         * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the
         * system property.
         */
    
        String save = System.getProperty("user.name");
        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 19:16:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

             * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from
             * aftereffects and bogus error messages.
             */
            List<Dependency> dependencies = model.getDependencies();
            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(1, result.getArtifacts().size());
    
            //
            // Put in a bogus file to make sure missing files cause the resolution to fail.
            //
            file = new File(getBasedir(), "src/test/repository-system/maven-monkey-2.1.0.jar");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      protected static String formatFeatureSet(Set<? extends Feature<?>> features) {
        List<String> temp = new ArrayList<>();
        for (Feature<?> feature : features) {
          Object featureAsObject = feature; // to work around bogus JDK warning
          if (featureAsObject instanceof Enum) {
            Enum<?> f = (Enum<?>) featureAsObject;
            temp.add(f.getDeclaringClass().getSimpleName() + "." + feature);
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top