Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,782 for better (0.14 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
                // displayed to the user, so just bail out and return false.
            }
            return false;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/BufferCacheImpl.java

         *
         * @see jcifs.BufferCache#releaseBuffer(byte[])
         */
        @Override
        public void releaseBuffer ( byte[] buf ) {
            if ( buf == null ) {
                return;
            }
            // better safe than sorry: prevent leaks if there is some out of bound access
            Arrays.fill(buf, (byte) 0);
            synchronized ( this.cache ) {
                if ( this.freeBuffers < this.cache.length ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jan 24 11:40:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/ModelContainer.java

         * However, it is currently easy for state to leak from one project to another so this is not a strong guarantee.
         *
         * <p>It is usually a better option to use {@link #newCalculatedValue(Object)} instead of this method.</p>
         */
        <S> S fromMutableState(Function<? super T, ? extends S> factory);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/MultiEndPointQueue.java

        }
    
        public void drain(Collection<InterHubMessage> drainTo) {
            drainTo.addAll(queue);
            queue.clear();
        }
    
        private void flush() {
            // TODO - need to do a better job of routing messages when there are multiple endpoints. This is just going to forward all queued messages to the first
            // waiting endpoint, even if there are multiple waiting to do work
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ResolvedArtifactSetResolver.java

            // This may be called from an unmanaged thread, so temporarily enlist the current thread
            // as a worker if it is not already so that it can visit the results. It would be better
            // to instead to memoize the results on the first visit so that this is not required.
            workerLeaseService.runAsUnmanagedWorkerThread(() -> visitArtifacts(artifacts, visitor, resolutionHost));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:35:27 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/net/tcpsock_unix_test.go

    			if err != nil {
    				return
    			}
    			wg.Add(1)
    			go func(c Conn) {
    				var b [1]byte
    				c.Read(b[:])
    				c.Close()
    				wg.Done()
    			}(c)
    		}
    	}(ln)
    
    	attempts := int(1e4) // larger is better
    	wg.Add(attempts)
    	throttle := make(chan struct{}, runtime.GOMAXPROCS(-1)*2)
    	for i := 0; i < attempts; i++ {
    		throttle <- struct{}{}
    		go func(i int) {
    			defer func() {
    				<-throttle
    				wg.Done()
    			}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/eventbus/EventBus.java

     * of EventBus may be better written using <a
     * href="https://kotlinlang.org/docs/coroutines-guide.html">Kotlin coroutines</a>, including <a
     * href="https://kotlinlang.org/docs/flow.html">Flow</a> and <a
     * href="https://kotlinlang.org/docs/channels.html">Channels</a>. Yet other usages are better served
     * by individual libraries that provide specialized support for particular use cases.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 17 16:01:41 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/infer.go

    					//           a failure cause which allows for a better error message.
    					//           Eventually, unify should return an error with cause.
    					var cause string
    					constraint := tpar.iface()
    					if m, _ := check.missingMethod(tx, constraint, true, func(x, y Type) bool { return u.unify(x, y, exact) }, &cause); m != nil {
    						// TODO(gri) better error message (see TODO above)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/EclipseDependenciesCreator.java

            }
    
            /*
             * This method returns the dependencies in buckets (projects first, then modules, then files),
             * because that's what we used to do since 1.0. It would be better to return the dependencies
             * in the same order as they come from the resolver, but we'll need to change all the tests for
             * that, so defer that until later.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. api/pom.xml

        <version>4.0.0-beta-4-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-api</artifactId>
      <packaging>pom</packaging>
      <name>Maven 4 API</name>
      <description>A new immutable API for Maven 4 to better manage what plugins and extensions can influence.</description>
    
      <modules>
        <module>maven-api-meta</module>
        <module>maven-api-di</module>
        <module>maven-api-xml</module>
        <module>maven-api-model</module>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top