Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 562 for Shardz (0.24 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go

    //	    go func() {
    //	        use(v)  // incorrect, and a data race
    //	    }()
    //	}
    //
    // A fix is the same as before. The checker also reports problems
    // in goroutines started by golang.org/x/sync/errgroup.Group.
    // A hard-to-spot variant of this form is common in parallel tests:
    //
    //	func Test(t *testing.T) {
    //	    for _, test := range tests {
    //	        t.Run(test.name, func(t *testing.T) {
    //	            t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceregistry_test.go

    	shards, ok := endpoints.ShardsForService(string(s.Hostname), s.Attributes.Namespace)
    	if !ok {
    		return nil
    	}
    	var pn string
    	for _, p := range s.Ports {
    		if p.Port == port {
    			pn = p.Name
    			break
    		}
    	}
    	if pn == "" && port != 0 {
    		return nil
    	}
    	shards.RLock()
    	defer shards.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. src/errors/errors.go

    	return e.s
    }
    
    // ErrUnsupported indicates that a requested operation cannot be performed,
    // because it is unsupported. For example, a call to [os.Link] when using a
    // file system that does not support hard links.
    //
    // Functions and methods should not return this error but should instead
    // return an error including appropriate context that satisfies
    //
    //	errors.Is(err, errors.ErrUnsupported)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. architecture/standards/0001-use-architectural-decision-records.md

    We use *Specification* and *Discovery* documents stored in Google Drive, but they present some downsides:
    
    * They are rarely updated after creation and initial review, and then become hard to follow, especially after important decisions are made
    * They are not synced with the code to reflect the eventual solution that is committed
    * Google Docs is not a "code-oriented" tool, like asciidoc can be
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 02 21:54:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/crypto/rsa/boring_test.go

    			wg.Add(1)
    			go func() {
    				defer wg.Done()
    				sum := make([]byte, 32)
    				_, err := SignPKCS1v15(rand.Reader, k, crypto.SHA256, sum)
    				if err != nil {
    					panic(err) // usually caused by memory corruption, so hard stop
    				}
    			}()
    		}
    		wg.Wait()
    	}
    }
    
    func bigFromHex(hex string) *big.Int {
    	n, ok := new(big.Int).SetString(hex, 16)
    	if !ok {
    		panic("bad hex: " + hex)
    	}
    	return n
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 00:16:30 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentControl.java

    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    
    /**
     * Provides methods to interact with the Java agent shipped with Gradle. Because of the different class loaders, it is hard to query the Agent class directly.
     * <p>
     * The agent class must follow a special protocol to be recognized properly: the class should have a method:
     * <pre>
     *     public static boolean isApplied()
     * </pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/macho_update_uuid.go

    // content of the object files being linked but also on things like
    // the timestamps/paths of the objects; this makes it
    // difficult/impossible to support reproducible builds. Since we try
    // hard to maintain build reproducibility for Go, the APIs here
    // compute a new UUID (based on the Go build ID) and write it to the
    // final executable generated by the external linker.
    
    import (
    	"cmd/internal/notsha256"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/contracts/descriptorContractUtils.kt

            variableReference: VariableReference,
            constructor: (KaParameterSymbol) -> T
        ): T = constructor(variableReference.descriptor.toKtSymbol(analysisContext) as KaParameterSymbol)
    
        // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to.
        // This visitor isn't type-safe anyway
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_find.txt

    go mod init
    rm go.mod
    cd $WORK/gopath/src/empty
    go mod init
    rm go.mod
    
    # GOPATH/src/link where GOPATH and link are both symlinks
    cd $GOPATH/src/link
    go mod init
    stderr link
    rm go.mod
    
    # Too hard: doesn't match unevaluated nor completely evaluated. (Only partially evaluated.)
    # Whether this works depends on which OS we are running on.
    # cd $WORK/gopath/src/link
    # ! go mod init
    
    -- $WORK/x/x.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:14 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. samples/kind-lb/README.md

    public IP v4 addresses when a load balancer is created. The default value is 255.
    The first two octets are determined by the docker network created by `KinD`, the 4th octet
    is hard coded as 200-240. As you might have guessed, for each k8s cluster one can
    create at most 40 public IP v4 addresses.
    
    The `ip-space` parameter is not required when you create just one cluster, however, when
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top