Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for excl (0.04 sec)

  1. docs_src/handling_errors/tutorial003.py

            self.name = name
    
    
    app = FastAPI()
    
    
    @app.exception_handler(UnicornException)
    async def unicorn_exception_handler(request: Request, exc: UnicornException):
        return JSONResponse(
            status_code=418,
            content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
        )
    
    
    @app.get("/unicorns/{name}")
    async def read_unicorn(name: str):
        if name == "yolo":
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 626 bytes
    - Viewed (0)
  2. docs_src/custom_request_and_route/tutorial002.py

                try:
                    return await original_route_handler(request)
                except RequestValidationError as exc:
                    body = await request.body()
                    detail = {"errors": exc.errors(), "body": body.decode()}
                    raise HTTPException(status_code=422, detail=detail)
    
            return custom_route_handler
    
    
    app = FastAPI()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 932 bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            dep1.setArtifactId( "test-artifact" );
            dep1.setVersion( "1" );
            dep1.setType( "jar" );
    
            Exclusion exc = new Exclusion();
            exc.setGroupId( "test" );
            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
            Dependency dep2 = new Dependency();
            dep2.setGroupId( "test" );
            dep2.setArtifactId( "test-artifact2" );
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutator.groovy

                }
    
                @Override
                FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException {
                    throw exc
                }
    
                @Override
                FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException {
                    if (PathUtils.isEmpty(dir)) {
                        Files.delete(dir)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 12:30:06 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/runtime/memmove_s390x.s

    forwards_fast:
    	CMP	R5, $256
    	BLE	forwards_small
    	MVC	$256, 0(R4), 0(R6)
    	ADD	$256, R4
    	ADD	$256, R6
    	ADD	$-256, R5
    	BR	forwards_fast
    
    forwards_small:
    	CMPBEQ	R5, $0, done
    	ADD	$-1, R5
    	EXRL	$memmove_exrl_mvc<>(SB), R5
    	RET
    
    move0to3:
    	CMPBEQ	R5, $0, done
    move1:
    	CMPBNE	R5, $1, move2
    	MOVB	0(R4), R3
    	MOVB	R3, 0(R6)
    	RET
    move2:
    	CMPBNE	R5, $2, move3
    	MOVH	0(R4), R3
    	MOVH	R3, 0(R6)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 22 18:54:48 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

            PasswordBasedExtractor pdfExtractor = container.getComponent("pdfExtractor");
            extractorFactory.addExtractor("application/msword", tikaExtractor);
            extractorFactory.addExtractor("application/vnd.ms-excel", tikaExtractor);
            extractorFactory.addExtractor("application/vnd.ms-powerpoint", tikaExtractor);
            extractorFactory.addExtractor("application/vnd.visio", tikaExtractor);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/GradleModuleMetadata.groovy

                    this
                }
    
                DependencyView hasExclude(String group, String module = '*') {
                    String exc = "${group}:${module}"
                    assert find()?.excludes?.contains(exc)
                    checkedExcludes << exc
                    this
                }
    
                DependencyView noMoreExcludes() {
                    def uncheckedExcludes = find().excludes - checkedExcludes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. src/internal/bytealg/compare_s390x.s

    	CMPBEQ	R8, $0, cmplengths
    	CMP	R8, $256
    	BLE	tail
    loop:
    	CLC	$256, 0(R3), 0(R5)
    	BGT	gt
    	BLT	lt
    	SUB	$256, R8
    	MOVD	$256(R3), R3
    	MOVD	$256(R5), R5
    	CMP	R8, $256
    	BGT	loop
    tail:
    	SUB	$1, R8
    	EXRL	$cmpbodyclc<>(SB), R8
    	BGT	gt
    	BLT	lt
    cmplengths:
    	CMP	R4, R6
    	BEQ	eq
    	BLT	lt
    gt:
    	MOVD	$1, 0(R7)
    	RET
    lt:
    	MOVD	$-1, 0(R7)
    	RET
    eq:
    	MOVD	$0, 0(R7)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 08 20:52:47 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            assertContentType("application/msword", "extractor/msoffice/test.doc", "hoge.doc");
            assertContentType("application/vnd.ms-excel", "test/text1.txt", "hoge.xls");
            assertContentType("application/vnd.ms-excel", "extractor/msoffice/test.xls", "hoge.xls");
            assertContentType("application/vnd.ms-powerpoint", "test/text1.txt", "hoge.ppt");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java

                pathTracker.leave();
                // File loop exceptions are ignored. When we encounter a loop (via symbolic links), we continue,
                // so we include all the other files apart from the loop.
                // This way, we include each file only once.
                if (isNotFileSystemLoopException(exc)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 24.4K bytes
    - Viewed (0)
Back to top