Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1851 - 1860 of 2,310 for Contains (0.07 seconds)

  1. internal/pubsub/pubsub.go

    // Hence receivers should use buffered channel so as not to miss the published events.
    func (ps *PubSub[T, M]) Publish(item T) {
    	ps.RLock()
    	defer ps.RUnlock()
    	for _, sub := range ps.subs {
    		if sub.types.Contains(Mask(item.Mask())) && (sub.filter == nil || sub.filter(item)) {
    			select {
    			case sub.ch <- item:
    			default:
    			}
    		}
    	}
    }
    
    // Subscribe - Adds a subscriber to pubsub system
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  2. cmd/background-newdisks-heal-ops.go

    		DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		},
    	)
    }
    
    func (h *healingTracker) isHealed(bucket string) bool {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    	return slices.Contains(h.HealedBuckets, bucket)
    }
    
    // resume will reset progress to the numbers at the start of the bucket.
    func (h *healingTracker) resume() {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  3. cmd/metrics-v3-types.go

    mainLoop:
    	for _, metric := range metricsV2 {
    		for label, allowedValues := range filterByLabels {
    			if !allowedValues.Contains(metric.VariableLabels[label]) {
    				continue mainLoop
    			}
    		}
    
    		// If a bucket filter is provided, only add metrics for the given
    		// buckets.
    		if len(bucketFilter) > 0 && !slices.Contains(bucketFilter, metric.VariableLabels["bucket"]) {
    			continue
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/endtoend_test.go

    		f := strings.Fields(string(buf))
    
    		// Turn relative (PC) into absolute (PC) automatically,
    		// so that most branch instructions don't need comments
    		// giving the absolute form.
    		if len(f) > 0 && strings.Contains(printed, "(PC)") {
    			index := len(f) - 1
    			suf := "(PC)"
    			for !strings.HasSuffix(f[index], suf) {
    				index--
    				suf = "(PC),"
    			}
    			str := f[index]
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. src/archive/tar/writer_test.go

    	}
    	if _, err = writer.Write([]byte(contents)); err != nil {
    		t.Fatal(err)
    	}
    	if err := writer.Close(); err != nil {
    		t.Fatal(err)
    	}
    	// Simple test to make sure PAX extensions are in effect
    	if !bytes.Contains(buf.Bytes(), []byte("PaxHeaders.0")) {
    		t.Fatal("Expected at least one PAX header to be written.")
    	}
    	// Test that we can get a long name back out of the archive.
    	reader := NewReader(&buf)
    	hdr, err = reader.Next()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  6. internal/config/identity/openid/openid.go

    			}
    		}
    
    		// No need to continue loading if the config is not enabled.
    		if !enabled {
    			continue
    		}
    
    		// Validate that client ID has not been duplicately specified.
    		if seenClientIDs.Contains(p.ClientID) {
    			return c, config.Errorf("Client ID %s is present with multiple OpenID configurations", p.ClientID)
    		}
    		seenClientIDs.Add(p.ClientID)
    
    		p.URL, err = xnet.ParseHTTPURL(configURL)
    		if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

                    + artifact.getScope() + " wins)");
    
            // TODO better way than static? this might hide messages in a reactor
            if (!ignoredArtifacts.contains(artifact)) {
                logger.warn("\n\tArtifact " + artifact + " retains local artifactScope '" + artifact.getScope()
                        + "' overriding broader artifactScope '" + ignoredScope + "'\n"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            return stream(mojoExecution.getConfiguration().getChildren())
                    .map(Xpp3Dom::getName)
                    .filter(name -> !parameters.contains(name))
                    .collect(Collectors.toSet());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.18.md

    ## Changelog since v1.18.17
    
    ## Important Security Information
    
    This release contains changes that address the following vulnerabilities:
    
    ### CVE-2021-25735: Validating Admission Webhook does not observe some previous fields
    
    A security issue was discovered in kube-apiserver that could allow node
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jun 16 17:18:28 GMT 2021
    - 373.2K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            }
        }
    }
    
    codenarc {
        config = configFile("codenarc.xml")
        reportFormat = "console"
    }
    
    tasks.withType<CodeNarc>().configureEach {
        if (name.contains("IntegTest")) {
            config = configFile("codenarc-integtests.xml")
        }
    }
    
    val SourceSet.allGroovy: SourceDirectorySet
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
Back to Top