Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1981 - 1990 of 2,523 for Create (0.08 sec)

  1. internal/once/singleton.go

    package once
    
    // Singleton contains a pointer to T that must be set once.
    // Until the value is set all Get() calls will block.
    type Singleton[T any] struct {
    	v   *T
    	set chan struct{}
    }
    
    // NewSingleton creates a new unset singleton.
    func NewSingleton[T any]() *Singleton[T] {
    	return &Singleton[T]{set: make(chan struct{}), v: nil}
    }
    
    // Get will return the singleton value.
    func (s *Singleton[T]) Get() *T {
    	<-s.set
    	return s.v
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_remote_test_util.h

    #define TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_
    
    // Run a function containing a MatMul op and check its output.
    // If heavy_load_on_streaming_rpc is true, send some rpc requests before the one
    // which creates a remote input, to simulate a scenario that the remote input
    // is not ready when we start running an op or a function.
    void TestRemoteExecuteSilentCopies(bool async, bool remote, bool func,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

        private ArtifactRepository localRepository;
    
        private List<ArtifactRepository> remoteRepositories;
    
        /**
         * Creates an empty repository request.
         */
        public DefaultRepositoryRequest() {
            // enables no-arg constructor
        }
    
        /**
         * Creates a shallow copy of the specified repository request.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            protected String id;
            protected boolean created;
    
            public ApiUpdateResponse id(final String id) {
                this.id = id;
                return this;
            }
    
            public ApiUpdateResponse created(final boolean created) {
                this.created = created;
                return this;
            }
    
            @Override
            public ApiResult result() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

        private final String location;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified string.
         *
         * @param content The String representation, may be empty or {@code null}.
         */
        public StringSource(CharSequence content) {
            this(content, null);
        }
    
        /**
         * Creates a new source backed by the specified string.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

        /**
         * Creates a new model source backed by the specified file.
         *
         * @param pomFile The POM file, must not be {@code null}.
         * @deprecated Use {@link #FileModelSource(Path)} instead.
         */
        @Deprecated
        public FileModelSource(File pomFile) {
            super(pomFile);
        }
    
        /**
         * Creates a new model source backed by the specified file.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java

    /**
     * Wraps an ordinary {@link URL} as a model source.
     *
     *
     * @deprecated instead use {@link UrlSource}
     */
    @Deprecated
    public class UrlModelSource extends UrlSource implements ModelSource {
        /**
         * Creates a new model source backed by the specified URL.
         *
         * @param pomUrl The POM file, must not be {@code null}.
         */
        public UrlModelSource(URL pomUrl) {
            super(pomUrl);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java

    @Deprecated(since = "4.0.0")
    public class InvalidRepositoryException extends Exception {
    
        /**
         * The repository that raised this error, can be {@code null}.
         */
        private Repository repository;
    
        /**
         * Creates a new exception with specified detail message and cause for the given repository.
         *
         * @param message The detail message, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. .gitignore

    # Karma output
    /www/test_out
    
    # precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh
    /_tmp/
    /doc_tmp/
    
    # Test artifacts produced by Prow/kubetest2 jobs
    /_artifacts/
    /_rundir/
    
    # Go dependencies installed on Jenkins
    /_gopath/
    
    # Config directories created by gcloud and gsutil on Jenkins
    /.config/gcloud*/
    /.gsutil/
    
    # CoreOS stuff
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. cmd/bucket-metadata_gen.go

    		switch msgp.UnsafeString(field) {
    		case "Name":
    			z.Name, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Name")
    				return
    			}
    		case "Created":
    			z.Created, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Created")
    				return
    			}
    		case "LockEnabled":
    			z.LockEnabled, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "LockEnabled")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top