Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 315 for approach (0.23 sec)

  1. src/syscall/rlimit.go

    // even in simple programs like gofmt when they parallelize walking
    // a file tree.
    //
    // After a long discussion on go.dev/issue/46279, we decided the
    // best approach was for Go to raise the limit unconditionally for itself,
    // and then leave old software to set the limit back as needed.
    // Code that really wants Go to leave the limit alone can set the hard limit,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/sort/example_search_test.go

    	} else {
    		fmt.Printf("%d not found in %v\n", x, a)
    	}
    	// Output:
    	// found 6 at index 2 in [1 3 6 10 15 21 28 36 45 55]
    }
    
    // This example demonstrates searching a list sorted in descending order.
    // The approach is the same as searching a list in ascending order,
    // but with the condition inverted.
    func ExampleSearch_descendingOrder() {
    	a := []int{55, 45, 36, 28, 21, 15, 10, 6, 3, 1}
    	x := 6
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 18 08:25:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/vcweb/svn.go

    // that serves the (non-HTTP) 'svn' protocol. The test binary can retrieve the
    // URL for that port by sending an HTTP request with the query parameter
    // "vcwebsvn=1".
    //
    // We take this approach because the 'svn' protocol is implemented by a
    // lightweight 'svnserve' binary that is usually packaged along with the 'svn'
    // client binary, whereas only known implementation of the Subversion HTTP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:44:48 UTC 2022
    - 5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/lockedfile/lockedfile_filelock.go

    	// On BSD systems, we could add the O_SHLOCK or O_EXLOCK flag to the OpenFile
    	// call instead of locking separately, but we have to support separate locking
    	// calls for Linux and Windows anyway, so it's simpler to use that approach
    	// consistently.
    
    	f, err := os.OpenFile(name, flag&^os.O_TRUNC, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	switch flag & (os.O_RDONLY | os.O_WRONLY | os.O_RDWR) {
    	case os.O_WRONLY, os.O_RDWR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/api/IsolatedAction.java

     *
     * Each isolated action is re-created through Configuration Cache serialization before it is applied to a target.
     * This approach ensures that sharing mutable state across targets via any means
     * (including {@link org.gradle.api.services.BuildService}, which are not supported) is prevented.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:15:52 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/legacy/rule_source.adoc

    [CAUTION]
    ====
    Rule based configuration link:https://blog.gradle.org/state-and-future-of-the-gradle-software-model[will be deprecated].
    New plugins should not use this concept.
    Instead, use the standard approach described in the <<custom_plugins.adoc#custom_plugins, Writing Custom Plugins>> chapter.
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. docs/kms/IAM.md

    Now, MinIO encrypts IAM / configuration and S3 objects with a KMS, if present. This
    change unified the key-management aspect within MinIO.
    
    The unified KMS-based approach has several advantages:
    
    - Key management is now centralized. There is one way to change or rotate encryption keys.
       There used to be two different mechanisms - one for regular S3 objects and one for IAM data.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/allocator.go

    	},
    }
    
    // Allocator knows how to allocate memory
    // It exists to make the cost of object serialization cheaper.
    // In some cases, it allows for allocating memory only once and then reusing it.
    // This approach puts less load on GC and leads to less fragmented memory in general.
    type Allocator struct {
    	buf []byte
    }
    
    var _ MemoryAllocator = &Allocator{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 03:17:50 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    makes it easier to keep plugin versions consistent across projects within a build. The approach also improves the performance of the build.
    
    The <<plugins#sec:subprojects_plugins_dsl,Using Gradle plugins>> chapter explains how you can declare plugins in the root project build script with a version and then apply them to the appropriate subprojects' build scripts. What follows is an example of this approach using three subprojects and three plugins. Note how the root build script only declares...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_ant.adoc

    What are the main benefits you are looking for?
    
    To better understand, consider the following opposing scenarios:
    
     * An imported build via <<ant#sec:import_ant_build,`ant.importBuild()`>>
    +
    This approach is quick, simple, and works for many Ant-based builds.
    You end up with a build that is effectively identical to the original Ant build, except your Ant targets become Gradle tasks.
    Even the dependencies between targets are retained.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top