Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Final (0.36 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        public RepositorySystemSupplier() {}
    
        private void checkClosed() {
            if (closed.get()) {
                throw new IllegalStateException("Supplier is closed");
            }
        }
    
        private PathProcessor pathProcessor;
    
        public final PathProcessor getPathProcessor() {
            checkClosed();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 26 13:10:42 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        }
    
        private static final Pattern UNIX_PID_PATTERN = Pattern.compile("([0-9]+)");
        private static final Pattern WINDOWS_PID_PATTERN = Pattern.compile("([0-9]+)\\s*$");
        private static final String MY_PID = String.valueOf(ProcessHandle.current().pid());
        private static final String JAVA_EXECUTABLE_PATTERN_STR = "java(?:\\.exe)?";
        private static final String GRADLE_MAIN_CLASS_PATTERN_STR = "(org\\.gradle\\.[a-zA-Z]+)";
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    		Cache:    &cache,
    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	var final *dataUsageCache
    	err = st.Results(func(resp *nsScannerResp) error {
    		if resp.Update != nil {
    			select {
    			case <-ctx.Done():
    			case updates <- *resp.Update:
    			}
    		}
    		if resp.Final != nil {
    			final = resp.Final
    		}
    		// We can't reuse the response since it is sent upstream.
    		return nil
    	})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    		if opts.EncryptFn != nil {
    			fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    		}
    	}
    	delete(fi.Metadata, hash.MinIOMultipartChecksum) // Not needed in final object.
    
    	// Save the final object size and modtime.
    	fi.Size = objectSize
    	fi.ModTime = opts.MTime
    	if opts.MTime.IsZero() {
    		fi.ModTime = UTCNow()
    	}
    
    	// Save successfully calculated md5sum.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    		nfi := fi
    		if !nfi.IsRemote() {
    			nfi.Data = nil
    			nfi.Erasure.Index = 0
    			nfi.Erasure.Checksums = nil
    		}
    		return nfi
    	}
    
    	// We write at temporary location and then rename to final location.
    	tmpID := mustGetUUID()
    	migrateDataDir := mustGetUUID()
    
    	// Reorder so that we have data disks first and parity disks next.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    		t.Errorf("%s: string(buf.Bytes()) == %q, s == %q", testname, string(bytes), s)
    	}
    }
    
    // Fill buf through n writes of string fus.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    func fillString(t *testing.T, testname string, buf *Buffer, s string, n int, fus string) string {
    	check(t, testname+" (fill 1)", buf, s)
    	for ; n > 0; n-- {
    		m, err := buf.WriteString(fus)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. cmd/erasure.go

    				updates <- cache.clone()
    
    				lastSave = cache.Info.LastUpdate
    			case v, ok := <-bucketResults:
    				if !ok {
    					// Save final state...
    					cache.Info.NextCycle = wantCycle
    					cache.Info.LastUpdate = time.Now()
    					scannerLogOnceIf(ctx, cache.save(ctx, er, dataUsageCacheName), "nsscanner-channel-closed")
    					updates <- cache.clone()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. cmd/storage-rest-server.go

    	ui, err := s.getStorage().NSScanner(ctx, *params.Cache, updates, madmin.HealScanMode(params.ScanMode), nil)
    	wg.Wait()
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    	// Send final response.
    	resp := storageNSScannerRPC.NewResponse()
    	resp.Final = &ui
    	out <- resp
    	return nil
    }
    
    // MakeVolHandler - make a volume.
    func (s *storageRESTServer) MakeVolHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. cmd/erasure-metadata.go

    	for _, sum := range e.Checksums {
    		if sum.PartNumber == partNumber {
    			// Return the checksum
    			return sum
    		}
    	}
    	return ChecksumInfo{Algorithm: DefaultBitrotAlgorithm}
    }
    
    // ShardFileSize - returns final erasure size from original size.
    func (e ErasureInfo) ShardFileSize(totalLength int64) int64 {
    	if totalLength == 0 {
    		return 0
    	}
    	if totalLength == -1 {
    		return -1
    	}
    	numShards := totalLength / e.BlockSize
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  10. cmd/xl-storage.go

    	//
    	// A careful programmer will check the return value of close(), since it is quite possible that
    	// errors on a previous write(2) operation are reported only on the final close() that releases
    	// the open file descriptor.
    	//
    	// Failing to check the return value when closing a file may lead to silent loss of data.
    	// This can especially be observed with NFS and with disk quota.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top