Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 994 for ignores (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

          .isEqualTo(28800000L)
        // Ignore trailing junk
        assertThat("Thursday, 01-Jan-1970 00:00:00 PST JUNK".toHttpDateOrNull()!!.time)
          .isEqualTo(28800000L)
    
        // ANSI C's asctime() format
        // This format ignores the timezone entirely even if it is present and uses GMT.
        assertThat("Fri Jun 6 12:30:30 2014 PST".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
        // Ignore trailing junk.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/TempFileCreator.java

                  /* suffix= */ null,
                  filePermissions.get())
              .toFile();
        }
    
        @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
        private interface PermissionSupplier {
          FileAttribute<?> get() throws IOException;
        }
    
        private static final PermissionSupplier filePermissions;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

            if (inExample) {
                flagIfReversed(file, errors, currentSnippets);
            }
        }
    
        /**
         * Only flags when the first two detectable snippets in the block are GROOVY then KOTLIN.
         * Ignores blocks with fewer than two detectable snippets.
         */
        private void flagIfReversed(File file, Map<File, List<Error>> errors, List<Snippet> snippets) {
            List<Snippet> pair = snippets.stream()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Functions.java

          return "Functions.forPredicate(" + predicate + ")";
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a function that ignores its input and always returns {@code value}.
       *
       * <p>Prefer to use the lambda expression {@code o -> value} instead. Note that it is not
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. pyproject.toml

        "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"]
    "docs_src/dependencies/tutorial007_py39.py" = ["F821"]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                }
                if (idx < tok.length) {
                    qualifier = tok[idx];
                    fallback = isDigits(qualifier);
                }
    
                // string tokenizer won't detect these and ignores them
                if (part1.contains("..") || part1.startsWith(".") || part1.endsWith(".")) {
                    fallback = true;
                }
    
                if (fallback) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            int bytesRead = fileInfo.decode(buffer, 0, 8);
    
            assertEquals(8, bytesRead);
            assertTrue(fileInfo.toString().contains("endOfFile=" + value));
        }
    
        @Test
        @DisplayName("Test decode ignores extra buffer length")
        void testDecodeIgnoresExtraLength() throws SMBProtocolDecodingException {
            // Create larger buffer
            byte[] buffer = new byte[100];
            long value = 999L;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MoreCollectors.java

              throw multiples(true);
            }
            return this;
          }
        }
    
        @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
        Optional<Object> getOptional() {
          if (extras.isEmpty()) {
            return Optional.ofNullable(element);
          } else {
            throw multiples(false);
          }
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SecurityBlobTest.java

            SecurityBlob longer = new SecurityBlob(new byte[] { 1, 2, 9 });
    
            // Act & Assert
            // Due to implementation, iteration uses this.b.length and ignores extra bytes in argument
            assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        // Note that Firefox is fine with a sort function returning any positive or negative number, but Chrome 
                        // requires 1 or -1 specifically and ignores higher or lower values.  This sort ought to remain consistent
                        // with the sort used by AbstractAcceptedApiChangesMaintenanceTask.
                        result.acceptedApiChanges.sort((a, b) => { 
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Click Count (0)
Back to Top