Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3021 - 3030 of 4,250 for inst (0.02 seconds)

  1. tests/test_exception_handlers.py

    
    @app.get("/http-exception")
    def route_with_http_exception():
        raise HTTPException(status_code=400)
    
    
    @app.get("/request-validation/{param}/")
    def route_with_request_validation_exception(param: int):
        pass  # pragma: no cover
    
    
    @app.get("/server-error")
    def route_with_server_error():
        raise RuntimeError("Oops!")
    
    
    def test_override_http_exception():
        response = client.get("/http-exception")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 03 22:37:12 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Table.java

      /** Returns {@code true} if the table contains no mappings. */
      boolean isEmpty();
    
      /** Returns the number of row key / column key / value mappings in the table. */
      int size();
    
      /**
       * Compares the specified object with this table for equality. Two tables are equal when their
       * cell views, as returned by {@link #cellSet}, are equal.
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. cmd/sftp-server-driver.go

    		return err
    	}
    
    	return NotImplemented{}
    }
    
    type listerAt []os.FileInfo
    
    // Modeled after strings.Reader's ReadAt() implementation
    func (f listerAt) ListAt(ls []os.FileInfo, offset int64) (int, error) {
    	var n int
    	if offset >= int64(len(f)) {
    		return 0, io.EOF
    	}
    	n = copy(ls, f[offset:])
    	if n < len(ls) {
    		return n, io.EOF
    	}
    	return n, nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  4. src/archive/tar/strconv.go

    // If operating in binary mode, this assumes strict GNU binary mode; which means
    // that the first byte can only be either 0x80 or 0xff. Thus, the first byte is
    // equivalent to the sign bit in two's complement form.
    func fitsInBase256(n int, x int64) bool {
    	binBits := uint(n-1) * 8
    	return n >= 9 || (x >= -1<<binBits && x < 1<<binBits)
    }
    
    // parseNumeric parses the input as being encoded in either base-256 or octal.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

                    }
                    httpRequest = new HttpGet(buf.toString());
                }
    
                executor.accept(httpRequest, (response, entity) -> {
                    final int httpStatusCode = response.getCode();
                    if (httpStatusCode < 400 || httpStatusCode == 401) {
                        parseTokenPage(tokenPattern, responseParams, entity);
                    } else {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  6. src/cmd/asm/main.go

    		// the same list with -gcflags=-spectre=LIST and -asmflags=-spectre=LIST
    	case "all", "ret":
    		ctxt.Retpoline = true
    	}
    
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	defer ctxt.Bso.Flush()
    
    	architecture.Init(ctxt)
    
    	// Create object file, write header.
    	buf, err := bio.Create(*flags.OutputFile)
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer buf.Close()
    
    	if !*flags.SymABIs {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Apr 02 17:07:18 GMT 2026
    - 3K bytes
    - Click Count (0)
  7. fess-crawler-lasta/src/main/resources/crawler/client.xml

    		<property name="hc4Client">internalHc4HttpClient</property>
    		<property name="maxRetryCount">5</property>
    		<property name="retryInterval">500</property>
    		<postConstruct name="init" />
    	</component>
    
    	<component name="fsClient"
    		class="org.codelibs.fess.crawler.client.fs.FileSystemClient" instance="prototype">
    		<property name="charset">"UTF-8"</property>
    	</component>
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 04:17:06 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  8. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

                "release6x, 2",
                "release7x, 3",
                "release27x,23",
            ],
        )
        fun branchesWithVcsTriggerEnabled(
            branchName: String,
            expectedNightlyPromotionTriggerHour: Int?,
        ) {
            val vsb = VersionedSettingsBranch(branchName)
            assertEquals(expectedNightlyPromotionTriggerHour, vsb.determineNightlyPromotionTriggerHour())
        }
    
        @ParameterizedTest
        @ValueSource(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. scripts/translate.py

        print(outdated_paths)
        return outdated_paths
    
    
    @app.command()
    def update_outdated(
        language: Annotated[str, typer.Option(envvar="LANGUAGE")],
        max: Annotated[int, typer.Option(envvar="MAX")] = 10,
    ) -> None:
        outdated_paths = list_outdated(language)
        for path in outdated_paths[:max]:
            print(f"Updating lang: {language} path: {path}")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. cmd/local-locker_test.go

    	rng := rand.New(rand.NewSource(0))
    	quorum := 0
    	// Numbers of unique locks
    	for _, locks := range []int{100, 1000, 1e6} {
    		if testing.Short() && locks > 100 {
    			continue
    		}
    		t.Run(fmt.Sprintf("%d-locks", locks), func(t *testing.T) {
    			// Number of readers per lock...
    			for _, readers := range []int{1, 10, 100} {
    				if locks > 1000 && readers > 1 {
    					continue
    				}
    				if testing.Short() && readers > 10 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
Back to Top