Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 458 for Wain (0.21 sec)

  1. cmd/main.go

    	return strings.NewReader(banner.String())
    }
    
    func printMinIOVersion(c *cli.Context) {
    	io.Copy(c.App.Writer, versionBanner(c))
    }
    
    // Main main for minio server.
    func Main(args []string) {
    	// Set the minio app name.
    	appName := filepath.Base(args[0])
    
    	if env.Get("_MINIO_DEBUG_NO_EXIT", "") != "" {
    		freeze := func(_ int) {
    			// Infinite blocking op
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import okhttp3.curl.internal.commonRun
    import okhttp3.curl.logging.LoggingUtil
    import okhttp3.internal.platform.Platform
    import okhttp3.logging.HttpLoggingInterceptor
    import okhttp3.logging.LoggingEventListener
    
    class Main : CliktCommand(name = NAME, help = "A curl for the next-generation web.") {
      val method: String? by option("-X", "--request", help = "Specify request command to use")
    
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  3. docs/debugging/inspect/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    )
    
    var (
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. docs/debugging/pprofgoparser/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. docs_src/app_testing/app_b/main.py

    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: Union[str, None] = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: str = Header()):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
        if item_id not in fake_db:
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Jan 09 14:44:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. docs_src/app_testing/app_b_py310/main.py

    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: str | None = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: str = Header()):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
        if item_id not in fake_db:
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Jan 09 14:44:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. cni/cmd/istio-cni/main.go

    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    	"istio.io/istio/cni/pkg/plugin"
    	"istio.io/istio/pkg/log"
    	istioversion "istio.io/istio/pkg/version"
    )
    
    func main() {
    	if err := runPlugin(); err != nil {
    		os.Exit(1)
    	}
    }
    
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Jan 16 02:37:48 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. .github/actions/comment-docs-preview-in-pr/app/main.py

    
    class PartialGithubEventWorkflowRun(BaseModel):
        head_commit: PartialGithubEventHeadCommit
    
    
    class PartialGithubEvent(BaseModel):
        workflow_run: PartialGithubEventWorkflowRun
    
    
    if __name__ == "__main__":
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
        logging.info(f"Using config: {settings.json()}")
        g = Github(settings.input_token.get_secret_value())
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Jan 09 15:02:53 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. docs/debugging/xattr/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"encoding/binary"
    	"errors"
    	"flag"
    	"fmt"
    	"log"
    	"os"
    
    	"github.com/olekukonko/tablewriter"
    	"github.com/pkg/xattr"
    )
    
    var (
    	path, name string
    	value      uint64
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. docs/debugging/reorder-disks/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	"encoding/json"
    	"errors"
    	"flag"
    	"fmt"
    	"log"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    
    	"github.com/minio/pkg/v2/ellipses"
    )
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top