- Sort Score
- Num 10 results
- Language All
Results 1061 - 1070 of 1,838 for _new (0.01 seconds)
-
internal/logger/target/kafka/kafka.go
if h.producer != nil { h.producer.Close() h.client.Close() } // Wait for messages to be sent... h.wg.Wait() } // New initializes a new logger target which // sends log over http to the specified endpoint func New(config Config) *Target { target := &Target{ logCh: make(chan any, config.QueueSize), kconfig: config, status: statusOffline, } return target }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.2K bytes - Click Count (0) -
internal/s3select/json/preader.go
// and a number of workers based on GOMAXPROCS. // If an error is returned no goroutines have been started and r.err will have been set. func (r *PReader) startReaders() { r.bufferPool.New = func() []byte { return make([]byte, jsonSplitSize+1024) } // Create queue r.queue = make(chan *queueItem, runtime.GOMAXPROCS(0)) r.input = make(chan *queueItem, runtime.GOMAXPROCS(0)) r.readerWg.Add(1)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
cmd/metrics-v3-types.go
) } // NewCounterMD - creates a new counter metric descriptor. func NewCounterMD(name MetricName, help string, labels ...string) MetricDescriptor { return MetricDescriptor{ Name: name, Type: CounterMT, Help: help, VariableLabels: labels, } } // NewGaugeMD - creates a new gauge metric descriptor.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/event/target/mqtt.go
return err } switch u.Scheme { case "ws", "wss", "tcp", "ssl", "tls", "tcps": default: return errors.New("unknown protocol in broker address") } if m.QueueDir != "" { if !filepath.IsAbs(m.QueueDir) { return errors.New("queueDir path should be absolute") } if m.QoS == 0 { return errors.New("qos should be set to 1 or 2 if queueDir is set") } } return nil }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 8.2K bytes - Click Count (0) -
tests/association_generics_test.go
for _, pet := range updatedUser.Pets { petNames[pet.Name] = true } if !petNames["original-pet"] { t.Error("original pet not found") } if !petNames["new-pet"] { t.Error("new pet not found") } } // Test Set + Create with multiple associations using real database func TestClauseAssociationSetCreateWithMultipleAssociations(t *testing.T) { ctx := context.Background()Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
cmd/sts-handlers_test.go
} value, err := assumeRole.Retrieve() if err != nil { c.Fatalf("Expected to generate STS creds, got err: %#v", err) } // Check that the LDAP sts cred is actually working. minioClient, err := minio.New(s.endpoint, &minio.Options{ Creds: cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken), Secure: s.secure, Transport: s.TestSuiteCommon.client.Transport, }) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java
/** * MojoExecutionScopeCoreModule */ @Named public class MojoExecutionScopeCoreModule extends MojoExecutionScopeModule { @Inject public MojoExecutionScopeCoreModule() { super(new MojoExecutionScope()); } @Override protected void configure() { super.configure(); bind(MojoExecutionListener.class).toInstance(scope); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt
id("Promotion_NightlyDocumentation") name = "Nightly Documentation" description = "Promotes the latest successful documentation changes on '${branch.branchName}' from Ready for Nightly as a new nightly documentation snapshot" triggers { branch.determineNightlyPromotionTriggerHour()?.let { triggerHour -> schedule {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; /** */ @Deprecated class DefaultUrlNormalizerTest { private UrlNormalizer normalizer = new DefaultUrlNormalizer(); private String normalize(String url) { return normalizer.normalize(url); } @Test void testNullSafe() { assertNull(normalize(null)); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java
/** * The next messages will be bound to this source. When calling this method again, previous messages keep * their source, but the next messages will use the new source. * * @param source a source */ void setSource(String source); /** * * @return the collected Problems, never {@code null} */ List<Problem> getProblems();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 2.1K bytes - Click Count (0)