Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Requirements (0.19 sec)

  1. src/cmd/go/internal/modload/buildlist.go

    	"cmd/go/internal/mvs"
    	"cmd/go/internal/par"
    
    	"golang.org/x/mod/module"
    )
    
    // A Requirements represents a logically-immutable set of root module requirements.
    type Requirements struct {
    	// pruning is the pruning at which the requirement graph is computed.
    	//
    	// If unpruned, the graph includes all transitive requirements regardless
    	// of whether the requiring module supports pruning.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. docs/ru/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    Вам нужно изменить в `Dockerfile` соответствующие пути копирования файлов:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/load.go

    			Tags:                  tags,
    			ResolveMissingImports: true,
    			SilencePackageErrors:  true,
    		},
    		requirements: rs,
    		listRoots: func(*Requirements) (roots []string) {
    			roots = append(roots, imports...)
    			roots = append(roots, testImports...)
    			return roots
    		},
    	})
    	requirements = loaded.requirements
    
    	if !ExplicitWriteGoMod {
    		if err := commitRequirements(ctx, WriteOpts{}); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/init.go

    // use LoadModGraph instead.
    func LoadModFile(ctx context.Context) *Requirements {
    	rs, err := loadModFile(ctx, nil)
    	if err != nil {
    		base.Fatal(err)
    	}
    	return rs
    }
    
    func loadModFile(ctx context.Context, opts *PackageOpts) (*Requirements, error) {
    	if requirements != nil {
    		return requirements, nil
    	}
    
    	Init()
    	var workFile *modfile.WorkFile
    	if inWorkspaceMode() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    	// Ref: https://istio.io/latest/docs/ops/deployment/requirements/#pod-requirements
    	if pod.Spec.SecurityContext != nil && pod.Spec.SecurityContext.RunAsUser != nil {
    		if *pod.Spec.SecurityContext.RunAsUser == UserID {
    			fmt.Fprintf(writer, "   WARNING: User ID (UID) 1337 is reserved for the sidecar proxy.\n")
    		}
    	}
    
    	// https://istio.io/docs/setup/kubernetes/additional-setup/requirements/
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modget/get.go

    				// selected version of curM, then we will fail in checkWildcardVersions.
    				// (This could be an error, but it's too soon to tell.)
    				//
    				// However, even then the transitive requirements of some other query
    				// may downgrade this module out of the build list entirely, in which
    				// case the pattern will no longer include it and it won't be an error.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		default:
    			st.fail("unrecognized requirement code")
    		}
    
    		requirements = append(requirements, req)
    	}
    
    	if len(st.str) == 0 || st.str[0] != 'E' {
    		st.fail("expected E after requirements")
    	}
    	st.advance(1)
    
    	return &RequiresExpr{
    		Params:       params,
    		Requirements: requirements,
    	}
    }
    
    // exprPrimary parses:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  8. src/internal/trace/order.go

    func validateCtx(ctx schedCtx, reqs event.SchedReqs) error {
    	// Check thread requirements.
    	if reqs.Thread == event.MustHave && ctx.M == NoThread {
    		return fmt.Errorf("expected a thread but didn't have one")
    	} else if reqs.Thread == event.MustNotHave && ctx.M != NoThread {
    		return fmt.Errorf("expected no thread but had one")
    	}
    
    	// Check proc requirements.
    	if reqs.Proc == event.MustHave && ctx.P == NoProc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  9. src/runtime/asm_amd64.s

    	CALL	runtime·libpreinit(SB)
    
    	// Create a new thread to finish Go runtime initialization.
    	MOVQ	_cgo_sys_thread_create(SB), AX
    	TESTQ	AX, AX
    	JZ	nocgo
    
    	// We're calling back to C.
    	// Align stack per ELF ABI requirements.
    	MOVQ	SP, BX  // Callee-save in C ABI
    	ANDQ	$~15, SP
    	MOVQ	$_rt0_amd64_lib_go(SB), DI
    	MOVQ	$0, SI
    	CALL	AX
    	MOVQ	BX, SP
    	JMP	restore
    
    nocgo:
    	ADJSP	$16
    	MOVQ	$0x800000, 0(SP)		// stacksize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    These different <<sub:using_child_copy_specifications,levels of granularity>> in the copy specification allow you to handle most requirements that you will come across easily.
    
    [[sec:copying_files]]
    === Understanding file copying
    
    The basic process of copying files in Gradle is a simple one:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
Back to top