- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 1,007 for Pool (0.02 seconds)
-
internal/store/batch.go
return nil } // Len returns the no of items in the batch func (b *Batch[_]) Len() int { b.Lock() defer b.Unlock() return len(b.items) } func (b *Batch[_]) isFull() bool { return len(b.items) >= int(b.limit) } func (b *Batch[I]) commit() error { switch len(b.items) { case 0: return nil case 1: _, err := b.store.Put(b.items[0]) return err default: }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 2.9K bytes - Click Count (0) -
src/cmd/asm/internal/asm/pseudo_test.go
{"PCDATA", "1", "expect two operands for PCDATA"}, } runtimeTests := []errtest{ {"TEXT", "foo<ABIInternal>(SB),0", "TEXT \"foo\": ABIInternal requires NOSPLIT"}, } testcats := []struct { allowABI bool tests []errtest }{ { allowABI: false, tests: nonRuntimeTests, }, { allowABI: true, tests: runtimeTests, }, }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java
*/ @Named("help") @Singleton public class Help implements Goal { @Override public int execute(UpgradeContext context) throws Exception { context.info("Maven Upgrade Tool - Help"); context.println(); context.info("Upgrades Maven projects to be compatible with Maven 4."); context.println(); context.info("Available goals:"); context.indent();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/disk/stat_test.go
package disk import ( "os" "reflect" "testing" ) func TestReadDriveStats(t *testing.T) { testCases := []struct { stat string expectedIOStats IOStats expectErr bool }{ { stat: "1432553 420084 66247626 2398227 7077314 8720147 157049224 7469810 0 7580552 9869354 46037 0 41695120 1315 0 0", expectedIOStats: IOStats{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.5K bytes - Click Count (0) -
internal/s3select/csv/recordtransform.go
type recordTransform struct { reader io.Reader // recordDelimiter can be up to 2 characters. recordDelimiter []byte oneByte []byte useOneByte bool } func (rr *recordTransform) Read(p []byte) (n int, err error) { if rr.useOneByte { p[0] = rr.oneByte[0] rr.useOneByte = false n, err = rr.reader.Read(p[1:]) n++ } else {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.1K bytes - Click Count (0) -
internal/once/singleton.go
func (s *Singleton[T]) GetNonBlocking() *T { select { case <-s.set: return s.v default: return nil } } // IsSet will return whether the singleton has been set. func (s *Singleton[T]) IsSet() bool { select { case <-s.set: return true default: return false } } // Set the value and unblock all Get requests. // This may only be called once, a second call will panic.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 952 bytes - Click Count (0) -
internal/s3select/sql/value_contrib.go
* See the License for the specific language governing permissions and * limitations under the License. */ package sql import "time" func timestampCompare(op string, left, right time.Time) bool { switch op { case opLt: return left.Before(right) case opLte: return left.Before(right) || left.Equal(right) case opGt: return left.After(right) case opGte:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1K bytes - Click Count (0) -
main.go
// You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main // import "github.com/minio/minio" //go:generate go install tool import ( "os" // MUST be first import. _ "github.com/minio/minio/internal/init" minio "github.com/minio/minio/cmd" ) func main() { minio.Main(os.Args)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 24 23:34:11 GMT 2025 - 1004 bytes - Click Count (0) -
src/cmd/asm/internal/asm/expr_test.go
// license that can be found in the LICENSE file. package asm import ( "cmd/asm/internal/lex" "strings" "testing" "text/scanner" ) type exprTest struct { input string output int64 atEOF bool } var exprTests = []exprTest{ // Simple {"0", 0, true}, {"3", 3, true}, {"070", 8 * 7, true}, {"0x0f", 15, true}, {"0xFF", 255, true},
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java
MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException; // TODO maven-site-plugin -- not used by the plugin directly, but used by Doxia Integration Tool & MPIR // see DOXIASITETOOLS-167 & MPIR-349 MavenProject build(File pom, ArtifactRepository localRepository, ProfileManager profileManager) throws ProjectBuildingException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.4K bytes - Click Count (0)