Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 267 for Opening (0.05 seconds)

  1. src/cmd/api/api_test.go

    				t.Fatal(err)
    			}
    			for _, feat := range w.Features() {
    				fmt.Fprintf(f, "%s\n", feat)
    			}
    			f.Close()
    		}
    
    		bs, err := os.ReadFile(goldenFile)
    		if err != nil {
    			t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err)
    		}
    		wanted := strings.Split(string(bs), "\n")
    		slices.Sort(wanted)
    		for _, feature := range wanted {
    			if feature == "" {
    				continue
    			}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/stream-json-lines.md

    レスポンスの content type は `application/jsonl`(`application/json` の代わり)となり、ボディは次のようになります:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    {"name": "Portal Gun", "description": "A portal opening device."}
    {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."}
    ```
    
    これは JSON 配列(Python の list に相当)にとてもよく似ていますが、`[]` で囲まず、アイテム間の `,` もありません。その代わりに、**1 行に 1 つの JSON オブジェクト**で、改行文字で区切られます。
    
    /// info | 情報
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. tests/test_sse.py

    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    items = [
        Item(name="Plumbus", description="A multi-purpose household device."),
        Item(name="Portal Gun", description="A portal opening device."),
        Item(name="Meeseeks Box", description="A box that summons a Meeseeks."),
    ]
    
    
    app = FastAPI()
    
    
    @app.get("/items/stream", response_class=EventSourceResponse)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/SmbCircuitBreaker.java

        }
    
        /**
         * Create a circuit breaker with custom settings
         *
         * @param name circuit breaker name for logging
         * @param failureThreshold number of failures before opening
         * @param successThreshold number of successes in half-open before closing
         * @param resetTimeoutMillis time to wait before attempting reset (ms)
         * @param halfOpenMaxAttempts max attempts in half-open state
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  5. src/cmd/asm/internal/asm/parse.go

    			p.expectOperandEnd()
    			return
    		}
    		// fmt.Printf("offset %d \n", a.Offset)
    	}
    
    	// Register indirection: (reg) or (index*scale). We are on the opening paren.
    	p.registerIndirect(a, prefix)
    	// fmt.Printf("DONE %s\n", p.arch.Dconv(&emptyProg, 0, a))
    
    	p.expectOperandEnd()
    	return
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 17 19:57:47 GMT 2026
    - 37.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

            }
        }
    
        /**
         * Ensures that the file descriptor is openend
         *
         * @throws CIFSException if an error occurs while opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        /**
         * @param file
         * @param openFlags
         * @return
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. src/archive/zip/writer_test.go

    	if f.Name != wt.Name {
    		t.Fatalf("File name: got %q, want %q", f.Name, wt.Name)
    	}
    	testFileMode(t, f, wt.Mode)
    	rc, err := f.Open()
    	if err != nil {
    		t.Fatalf("opening %s: %v", f.Name, err)
    	}
    	b, err := io.ReadAll(rc)
    	if err != nil {
    		t.Fatalf("reading %s: %v", f.Name, err)
    	}
    	err = rc.Close()
    	if err != nil {
    		t.Fatalf("closing %s: %v", f.Name, err)
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/lex/input.go

    		}
    		tokens = append(tokens, substitution...)
    	}
    	in.Push(NewSlice(in.Base(), in.Line(), tokens))
    }
    
    // argsFor returns a map from formal name to actual value for this argumented macro invocation.
    // The opening parenthesis has been absorbed.
    func (in *Input) argsFor(macro *Macro) map[string][]Token {
    	var args [][]Token
    	// One macro argument per iteration. Collect them all and check counts afterwards.
    	for argNum := 0; ; argNum++ {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                return this.handle;
            }
            return this.handle.acquire();
        }
    
        /**
         * Ensures that the file descriptor is openend
         *
         * @throws CIFSException if an error occurs opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        @Override
        public synchronized void close() throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  10. docs/smb3-features/01-smb3-lease-design.md

    protected void doConnect() throws IOException {
        // ... existing connection logic ...
        
        if (context.getConfig().isUseLeases() && tree.getSession().supports(SMB3_0)) {
            // Request lease when opening file
            leaseManager = tree.getSession().getLeaseManager();
            int requestedState = isDirectory() ? 
                Smb2LeaseState.SMB2_LEASE_READ_HANDLE :
                Smb2LeaseState.SMB2_LEASE_FULL;
                
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
Back to Top