Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 2,219 for check (0.07 seconds)

  1. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                if (options.sessionId == null) {
                    SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
                    options.sessionId = sdf.format(new Date());
                }
    
                // Check that sessionId was generated
                assertNotNull(options.sessionId);
                assertTrue(options.sessionId.matches("\\d{14}"));
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/how-to/extending-openapi.md

    ### 覆寫方法 { #override-the-method }
    
    現在你可以用新的函式取代 `.openapi()` 方法。
    
    {* ../../docs_src/extending_openapi/tutorial001_py310.py hl[29] *}
    
    ### 檢查看看 { #check-it }
    
    造訪 [http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc) 後,你會看到自訂的 logo(此例為 **FastAPI** 的 logo):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/PathValidatorTest.java

            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\\\..\\share");
            });
    
            // Test invalid characters in paths - caught by null byte check
            assertThrows(SmbException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  5. cmd/object-api-utils.go

    }
    
    // checkObjectNameForLengthAndSlash -check for the validity of object name length and prefis as slash
    func checkObjectNameForLengthAndSlash(bucket, object string) error {
    	// Check for the length of object name
    	if len(object) > 1024 {
    		return ObjectNameTooLong{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    	// Check for slash as prefix in object name
    	if HasPrefix(object, SlashSeparator) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            Files.newOutputStream(outputPath).use { outputStream ->
                JarOutputStream(outputStream).use { jarStream ->
                    sourceFiles.forEach { dir ->
                        check(Files.isDirectory(dir)) { "Must be a directory" }
                        Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
                            override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 25 08:50:34 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. CLAUDE.md

    # Run I/O layer tests
    mvn test -Dtest=ContentCacheTest
    mvn test -Dtest=ContentOutputStreamTest
    mvn test -Dtest=IOIntegrationTest
    ```
    
    ### Code Quality
    ```bash
    # Format code
    mvn formatter:format
    
    # Check/update license headers
    mvn license:check
    mvn license:format
    
    # Generate Javadoc
    mvn javadoc:javadoc
    
    # Generate test coverage report
    mvn jacoco:report
    ```
    
    ## Architecture
    
    ### Core Components
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jan 08 07:28:24 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. internal/color/color.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package color
    
    import (
    	"fmt"
    
    	"github.com/fatih/color"
    )
    
    // global colors.
    var (
    	// Check if we stderr, stdout are dumb terminals, we do not apply
    	// ansi coloring on dumb terminals.
    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...any) string {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaPlugin.java

            javadoc.configure(doc -> doc.setClasspath(Util.getJavaMainSourceSet(project).get().getCompileClasspath()));
    
            // ensure javadoc task is run with 'check'
            project.getTasks().named(LifecycleBasePlugin.CHECK_TASK_NAME).configure(t -> t.dependsOn(javadoc));
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 7.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Verify.java

     * href="https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html">assertions</a>,
     * except that they are always enabled. These methods should be used instead of Java assertions
     * whenever there is a chance the check may fail "in real life". Example:
     *
     * {@snippet :
     * Bill bill = remoteService.getLastUnpaidBill();
     *
     * // In case bug 12345 happens again we'd rather just die
     * Verify.verify(bill.status() == Status.UNPAID,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
Back to Top