Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 643 for Os (0.02 sec)

  1. istioctl/pkg/workload/workload.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package workload
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"sort"
    	"strconv"
    	"strings"
    
    	"github.com/spf13/cobra"
    	authenticationv1 "k8s.io/api/authentication/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    package bytes_test
    
    import (
    	"bytes"
    	"encoding/base64"
    	"fmt"
    	"io"
    	"os"
    	"slices"
    	"strconv"
    	"unicode"
    )
    
    func ExampleBuffer() {
    	var b bytes.Buffer // A Buffer needs no initialization.
    	b.Write([]byte("Hello "))
    	fmt.Fprintf(&b, "world!")
    	b.WriteTo(os.Stdout)
    	// Output: Hello world!
    }
    
    func ExampleBuffer_reader() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. internal/ioutil/ioutil.go

    	defer ODirectPoolMedium.Put(bufp)
    	buf := *bufp
    
    	return io.CopyBuffer(writerOnly{dst}, src, buf)
    }
    
    // SameFile returns if the files are same.
    func SameFile(fi1, fi2 os.FileInfo) bool {
    	if !os.SameFile(fi1, fi2) {
    		return false
    	}
    	if !fi1.ModTime().Equal(fi2.ModTime()) {
    		return false
    	}
    	if fi1.Mode() != fi2.Mode() {
    		return false
    	}
    	return fi1.Size() == fi2.Size()
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/settings.md

    ๐Ÿ–ผ ๐Ÿ‘† ๐Ÿ’ช โœ”๏ธ ๐Ÿ“ `main.py` โฎ๏ธ:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    ๐Ÿฅˆ โŒ <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> ๐Ÿ”ข ๐Ÿ’ฒ ๐Ÿ“จ.
    
    ๐Ÿšฅ ๐Ÿšซ ๐Ÿšš, โšซ๏ธ `None` ๐Ÿ”ข, ๐Ÿ“ฅ ๐Ÿ‘ฅ ๐Ÿšš `"World"` ๐Ÿ”ข ๐Ÿ’ฒ โš™๏ธ.
    
    ///
    
    โคด๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿค™ ๐Ÿ‘ˆ ๐Ÿ ๐Ÿ“‹:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. docs/distributed/distributed-from-config-file.sh

    unset MINIO_KMS_KES_KEY_FILE
    unset MINIO_KMS_KES_ENDPOINT
    unset MINIO_KMS_KES_KEY_NAME
    
    export MINIO_CI_CD=1
    
    if [ ! -f ./mc ]; then
    	os="$(uname -s)"
    	arch="$(uname -m)"
    	case "${arch}" in
    	"x86_64")
    		arch="amd64"
    		;;
    	esac
    
    	wget -O mc https://dl.minio.io/client/mc/release/${os,,}-${arch,,}/mc &&
    		chmod +x mc
    fi
    
    for i in $(seq 1 4); do
    	s3Port="$((9000 + i))"
    	consolePort="$((s3Port + 1000))"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

      - type: dropdown
        id: Code
        attributes:
          label: Custom code
          options:
            - "Yes"
            - "No"
        validations:
          required: true
      - type: input
        id: OS
        attributes:
          label: OS platform and distribution
          placeholder: e.g., Linux Ubuntu 16.04
      - type: input
        id: Mobile
        attributes:
          label: Mobile device
          placeholder: e.g., Linux Ubuntu 16.04
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 28 18:25:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. misc/linkcheck/linkcheck.go

    // It crawls a URL recursively and notes URLs and URL fragments
    // that it's seen and prints a report of missing links at the end.
    package main
    
    import (
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"os"
    	"regexp"
    	"strings"
    	"sync"
    )
    
    var (
    	root    = flag.String("root", "http://localhost:6060", "Root to crawl")
    	verbose = flag.Bool("verbose", false, "verbose")
    )
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    }
    
    var binaryChecksum = getBinaryChecksum()
    
    func getBinaryChecksum() string {
    	mw := md5.New()
    	binPath, err := os.Executable()
    	if err != nil {
    		logger.Error("Calculating checksum failed: %s", err)
    		return "00000000000000000000000000000000"
    	}
    	b, err := os.Open(binPath)
    	if err != nil {
    		logger.Error("Calculating checksum failed: %s", err)
    		return "00000000000000000000000000000000"
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. internal/logger/console.go

    package logger
    
    import (
    	"encoding/json"
    	"fmt"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/pkg/v3/logger/message/log"
    )
    
    // ConsoleLoggerTgt is a stringified value to represent console logging
    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ConcurrencyTest.java

                    try ( SmbResource f = createTestFile() ) {
                        try {
                            // f.exists();
                            // try ( OutputStream os = f.openOutputStream(false, SmbConstants.FILE_NO_SHARE) ) {
                            // os.write(new byte[] {
                            // 1, 2, 3, 4, 5, 6, 7, 8
                            // });
                            // }
                            //
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
Back to top