Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2521 - 2530 of 4,250 for inst (0.08 seconds)

  1. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                byte[] buf = new byte[16];
    
                // Skip advances internal file pointer; next read should use this offset
                in.skip(2);
    
                // Act
                int n = in.readDirect(buf, 0, 5);
    
                // Assert
                assertEquals(3, n, "Should report bytes read from SMB2 response");
    
                // Verify the request offset equals the skip value (2)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. docs/de/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *}
    
    ### Eine `HTTPException` in Ihrem Code auslösen { #raise-an-httpexception-in-your-code }
    
    `HTTPException` ist eine normale Python-Exception mit zusätzlichen Daten, die für APIs relevant sind.
    
    Weil es eine Python-Exception ist, geben Sie sie nicht zurück (`return`), sondern lösen sie aus (`raise`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. docs/distributed/DESIGN.md

    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 8K bytes
    - Click Count (2)
  4. .teamcity/src/main/kotlin/configurations/FunctionalTestsPass.kt

    import projects.FunctionalTestProject
    
    class FunctionalTestsPass(
        model: CIBuildModel,
        functionalTestProject: FunctionalTestProject,
    ) : OsAwareBaseGradleBuildType(os = functionalTestProject.testCoverage.os, init = {
            id("${functionalTestProject.testCoverage.asId(model)}_Trigger")
            name = functionalTestProject.name + " (Trigger)"
            type = Type.COMPOSITE
    
            applyDefaultSettings()
    
            dependencies {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. docs/ru/docs/index.md

    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Сервер `fastapi dev` должен перезагрузиться автоматически.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @throws IllegalArgumentException if the requested number of permits is negative or zero
       * @since 16.0 (present in 13.0 with {@code void} return type})
       */
      @CanIgnoreReturnValue
      public double acquire(int permits) {
        long microsToWait = reserve(permits);
        stopwatch.sleepMicrosUninterruptibly(microsToWait);
        return 1.0 * microsToWait / SECONDS.toMicros(1L);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

        promotedBranch = "%branch.qualifier%",
        triggerName = "QuickFeedback",
        prepTask = "prepSnapshot",
        promoteTask = "promoteSnapshot",
        extraParameters = "-PpromotedBranch=%branch.qualifier%",
    ) {
        init {
            id("Promotion_PublishBranchSnapshotFromQuickFeedback")
            name = "Publish Branch Snapshot (from Quick Feedback)"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 20 06:13:56 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

                // Register mock ThumbnailManager
                ThumbnailManager mockThumbnailManager = new ThumbnailManager() {
                    private int callCount = 0;
    
                    @Override
                    public int generate(ExecutorService executorService, boolean cleanup) {
                        // Return 0 to exit the loop
                        if (callCount++ == 0) {
                            return 1;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("[2001:4860:4864:5]:99", 87, "2001:4860:4864:5", 99, true);
      }
    
      private static void checkFromStringCase(
          String hpString,
          int defaultPort,
          @Nullable String expectHost,
          int expectPort,
          boolean expectHasExplicitPort) {
        HostAndPort hp;
        try {
          hp = HostAndPort.fromString(hpString);
        } catch (IllegalArgumentException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            // This could be enhanced with proper version parsing if needed
            try {
                String[] parts = modelVersion.split("\\.");
                if (parts.length >= 2) {
                    int major = Integer.parseInt(parts[0]);
                    int minor = Integer.parseInt(parts[1]);
    
                    if (major > 4) {
                        return true;
                    }
                    if (major == 4 && minor > 1) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top