Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 643 for Os (0.03 sec)

  1. cmd/os_windows.go

    package cmd
    
    import (
    	"os"
    	"path/filepath"
    	"syscall"
    )
    
    func access(name string) error {
    	_, err := os.Lstat(name)
    	return err
    }
    
    func osMkdirAll(dirPath string, perm os.FileMode, _ string) error {
    	// baseDir is not honored in windows platform
    	return os.MkdirAll(dirPath, perm)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/asm/main.go

    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    		// known to compiler; ignore here so people can use
    		// the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST
    	case "all", "ret":
    		ctxt.Retpoline = true
    	}
    
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	defer ctxt.Bso.Flush()
    
    	architecture.Init(ctxt)
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/request-form-models.md

    ## Confira os Documentos
    
    Você pode verificar na UI de documentação em `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Proibir Campos Extras de Formulários
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                .filter { onlyNativeSubprojectsForIntelMacs(testCoverage, it.subProject.name) }
    
            return parallelize(subProjectTestClassTimes, testCoverage) { numberOfBatches ->
                if (testCoverage.os == Os.LINUX)
                    ParallelizationMethod.TestDistribution
                else
                    ParallelizationMethod.TeamCityParallelTests(numberOfBatches)
            }
        }
    
        private fun parallelize(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. cmd/signature-v2_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"net/url"
    	"os"
    	"sort"
    	"testing"
    )
    
    // Tests for 'func TestResourceListSorting(t *testing.T)'.
    func TestResourceListSorting(t *testing.T) {
    	sortedResourceList := make([]string, len(resourceList))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. cni/cmd/install-cni/main.go

    package main
    
    import (
    	"context"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"istio.io/istio/cni/pkg/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	// Create context that cancels on termination signal
    	ctx, cancel := context.WithCancel(context.Background())
    	sigChan := make(chan os.Signal, 1)
    	signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
    	go func(sigChan chan os.Signal, cancel context.CancelFunc) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testIsToOs() throws Exception {
            final int result = copy(is, os);
            assertThat(result, is(srcBytes.length));
            assertThat(os.toByteArray(), is(srcBytes));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReaderToWriter() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/util/UtilProject.kt

    package util
    
    import common.Arch
    import common.Os
    import jetbrains.buildServer.configs.kotlin.Project
    
    object UtilProject : Project({
        id("Util")
        name = "Util"
    
        buildType(RerunFlakyTest(Os.LINUX))
        buildType(RerunFlakyTest(Os.WINDOWS))
        buildType(RerunFlakyTest(Os.MACOS, Arch.AMD64))
        buildType(RerunFlakyTest(Os.MACOS, Arch.AARCH64))
        buildType(WarmupEc2Agent)
    
        buildType(PublishKotlinDslPlugin)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 521 bytes
    - Viewed (0)
  9. docs/pt/docs/virtual-environments.md

    Em seguida, ele **extrairá** todos esses arquivos e os colocará em um diretório no seu computador.
    
    Por padrão, ele colocará os arquivos baixados e extraídos no diretório que vem com a instalação do Python, que é o **ambiente global**.
    
    ## O que são ambientes virtuais
    
    A solução para os problemas de ter todos os pacotes no ambiente global é usar um **ambiente virtual para cada projeto** em que você trabalha.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 10 10:37:13 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. internal/logger/logrotate.go

    			return nil, fmt.Errorf("Failed to create log file: %w", err)
    		}
    	}
    
    	go w.listen()
    
    	return w, nil
    }
    
    func newFile(path string) (*os.File, error) {
    	return os.OpenFile(path, os.O_WRONLY|os.O_TRUNC|os.O_CREATE|os.O_SYNC, 0o666)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top