Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 4,407 for Avoid (0.02 seconds)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/model/GradleDistribution.kt

        abstract val homeDir: DirectoryProperty
    
        @get:Input
        val name: Provider<String> = homeDir.asFile.map { it.parentFile.parentFile.name }
    
        /**
         * Make sure this stays type FileCollection (lazy) to avoid losing dependency information.
         */
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.RELATIVE)
        val staticContent: FileCollection
            get() = homeDir.asFileTree.matching {
                exclude("lib/**")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/AppendableWriter.java

      public void write(int c) throws IOException {
        checkNotClosed();
        target.append((char) c);
      }
    
      @Override
      public void write(String str) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        target.append(str);
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        // tricky: append takes start, end pair...
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

            Long existingWeight = projectWeights.get(project);
            if (existingWeight != null) {
                return existingWeight;
            }
    
            // Calculate weight without using computeIfAbsent to avoid recursive update issues
            long weight = calculateWeight(project);
    
            // Use putIfAbsent to handle concurrent access safely
            Long previousWeight = projectWeights.putIfAbsent(project, weight);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. cmd/iam-etcd-store.go

    }
    
    func (ies *IAMEtcdStore) loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error {
    	ctx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	//  Retrieve all keys and values to avoid too many calls to etcd in case of
    	//  a large number of policies
    	r, err := ies.client.Get(ctx, iamConfigPoliciesPrefix, etcd.WithPrefix())
    	if err != nil {
    		return err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  5. docs/zh-hant/llm-prompt.md

    ### Ellipsis
    
    1) Keep ellipsis style consistent within each document, prefer `...` over `……`.
    2) Never change ellipsis in code, URLs, or CLI examples.
    
    ### Preferred translations / glossary
    
    1. Should avoid using simplified Chinese characters and terms. Always examine if the translation can be easily comprehended by the Traditional Chinese readers.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:49:46 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java

    import org.eclipse.aether.resolution.ArtifactDescriptorException;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
     * Maven relocation source.
     * Note: implementations of this component should avoid the "default" name (has special meaning in Eclipse Sisu) and
     * explicitly order implementations using Sisu priorities.
     *
     * @since 4.0.0
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. cmd/site-replication-utils.go

    	for {
    		if err := sm.load(ctx, newObjectLayerFn()); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := max(time.Duration(r.Float64()*float64(time.Second*10)),
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			time.Second)
    		time.Sleep(duration)
    	}
    }
    
    // load resync metrics saved on disk into memory
    func (sm *siteResyncMetrics) load(ctx context.Context, objAPI ObjectLayer) error {
    	if objAPI == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. cmd/metacache-walk.go

    // WalkDir will traverse a directory and return all entries found.
    // On success a sorted meta cache stream will be returned.
    // Metadata has data stripped, if any.
    // The function tries to quit as fast as the context is canceled to avoid further drive IO
    func (s *xlStorage) WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) (err error) {
    	legacyFS := s.fsType != xfs && s.fsType != ext4
    
    	s.RLock()
    	legacy := s.formatLegacy
    	s.RUnlock()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 26 07:06:43 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       * @since 15.0
       */
      @Override
      public final void awaitRunning() {
        delegate.awaitRunning();
      }
    
      /**
       * @since 28.0
       */
      @Override
      public final void awaitRunning(Duration timeout) throws TimeoutException {
        Service.super.awaitRunning(timeout);
      }
    
      /**
       * @since 15.0
       */
      @Override
      public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. internal/ioutil/read_file.go

    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    //
    // passes NOATIME flag for reads on Unix systems to avoid atime updates.
    func ReadFile(name string) ([]byte, error) {
    	// Don't wrap with un-needed buffer.
    	// Don't use os.ReadFile, since it doesn't pass NO_ATIME when present.
    	f, err := OsOpenFile(name, readMode, 0o666)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Click Count (0)
Back to Top