Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,234 for Create (0.4 seconds)

  1. cmd/admin-handlers-users-race_test.go

    	defer cancel()
    
    	bucket := getRandomBucketName()
    	err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	// Create a policy policy
    	policy := "mypolicy"
    	policyBytes := fmt.Appendf(nil, `{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            context.setProjectDirectory(tempDir.toFile());
    
            File file = new File(tempDir.resolve("file.txt").toString());
            if (!file.createNewFile()) {
                throw new IOException("Can't create " + file);
            }
        }
    
        @Test
        void testRootDirectoryWithNull() {
            context.setProjectDirectory(null);
    
            IllegalStateException e = assertThrows(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

        private final Options options;
    
        public LookupContext(InvokerRequest invokerRequest, boolean containerCapsuleManaged, Options options) {
            this.invokerRequest = requireNonNull(invokerRequest);
            this.cwd = CWD.create(invokerRequest.cwd());
            this.installationDirectory = CliUtils.getCanonicalPath(invokerRequest.installationDirectory());
            this.userDirectory = CliUtils.getCanonicalPath(invokerRequest.userHomeDirectory());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/middleware.md

    Если были какие‑либо фоновые задачи (рассматриваются в разделе [Фоновые задачи](background-tasks.md){.internal-link target=_blank}, вы увидите это позже), они будут запущены *после* всех middleware.
    
    ///
    
    ## Создание middleware { #create-a-middleware }
    
    Для создания middleware используйте декоратор `@app.middleware("http")`.
    
    Функция middleware получает:
    
    * `request` (объект запроса).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. internal/config/errors-utils.go

    func (u Err) Hint(m string, args ...any) Err {
    	e := u.Clone()
    	e.hint = fmt.Sprintf(m, args...)
    	return e
    }
    
    // ErrFn function wrapper
    type ErrFn func(err error) Err
    
    // Create a UI error generator, this is needed to simplify
    // the update of the detailed error message in several places
    // in MinIO code
    func newErrFn(msg, action, hint string) ErrFn {
    	return func(err error) Err {
    		u := Err{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

            });
    
            Configuration jquery = project.getConfigurations().create("jquery", conf -> {
                conf.setDescription("JQuery dependencies embedded by release notes.");
            });
    
            extension.releaseNotes(releaseNotes -> {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 18:26:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. internal/dsync/dsync_test.go

    	b.ResetTimer()
    	b.ReportAllocs()
    
    	// This benchmark models a situation where spinning in the mutex should be
    	// non-profitable and allows to confirm that spinning does not do harm.
    	// To achieve this we create excess of goroutines most of which do local work.
    	// These goroutines yield during local work, so that switching from
    	// a blocked goroutine to other goroutines is profitable.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            rootDir.withFile("version.txt", "1.0")
    
            val inputBuildDir = setupRunBinaryCompatibility(v1, v2)
    
            val runner = GradleRunner.create()
                .withProjectDir(inputBuildDir)
                .withPluginClasspath()
                .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s")
    
            val (buildResult, failure) = try {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            }
    
            try {
                return repositorySystem.createLocalRepository(new File(localRepositoryPath));
            } catch (Exception e) {
                throw new MavenExecutionRequestPopulationException("Cannot create local repository.", e);
            }
        }
    
        private void baseDirectory(MavenExecutionRequest request) {
            if (request.getBaseDirectory() == null && request.getPom() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

            Method extractProjectIdMethod =
                    DefaultProjectBuilder.class.getDeclaredMethod("extractProjectId", ModelBuilderResult.class);
            extractProjectIdMethod.setAccessible(true);
    
            // Create a mock ModelBuilderResult with null effectiveModel but available rawModel
            ModelBuilderResult mockResult = new MockModelBuilderResult(
                    null, // effectiveModel is null
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top