Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 248 for chains (0.36 sec)

  1. security/pkg/pki/util/crypto.go

    	}
    
    	return cert, nil
    }
    
    // ParsePemEncodedCertificateChain constructs a slice of `x509.Certificate` and `rootCertBytes`
    // objects using the given a PEM-encoded certificate chain.
    func ParsePemEncodedCertificateChain(certBytes []byte) ([]*x509.Certificate, []byte, error) {
    	var (
    		certs         []*x509.Certificate
    		cb            *pem.Block
    		rootCertBytes []byte
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    		return nil, nil, errCorrupt // more likely our math is wrong
    	}
    
    	// Link record into hash chain, making sure not to introduce a duplicate.
    	// We know name does not appear in the chain starting at head.
    	for {
    		next.Store(head)
    		if m.cas32(headOff, head, start) {
    			return v, nil, nil
    		}
    
    		// Check new elements in chain for duplicates.
    		old := head
    		head = m.load32(headOff)
    		for off := head; off != old; {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/alias.go

    // declaration "type A = R", which may be another alias.
    func (a *Alias) Rhs() Type { return a.fromRHS }
    
    // Unalias returns t if it is not an alias type;
    // otherwise it follows t's alias chain until it
    // reaches a non-alias type which is then returned.
    // Consequently, the result is never an alias type.
    func Unalias(t Type) Type {
    	if a0, _ := t.(*Alias); a0 != nil {
    		return unalias(a0)
    	}
    	return t
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

    }
    
    // Analyze the specified region for resource mutating operations, namely
    // TF::AssignVariableOp, if so, set the resource associated as "potentially
    // written". Do this recursively across the chain of regions via call or
    // control flow ops.
    // TODO(ashwinm): Move to iterative traversal.
    LogicalResult ResourceAnalyzer::AnalyzeRegion(Region& region) {
      // Avoid infinite recursion.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/go/types/alias.go

    // declaration "type A = R", which may be another alias.
    func (a *Alias) Rhs() Type { return a.fromRHS }
    
    // Unalias returns t if it is not an alias type;
    // otherwise it follows t's alias chain until it
    // reaches a non-alias type which is then returned.
    // Consequently, the result is never an alias type.
    func Unalias(t Type) Type {
    	if a0, _ := t.(*Alias); a0 != nil {
    		return unalias(a0)
    	}
    	return t
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"runtime/debug"
    	"strconv"
    	"time"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            then:
            output.count("files: [${["lib1", "lib2", "lib3", "lib4-1.0"].collectMany { lib -> targetJarsFor(lib) }.sort().join(", ")}]") == 2
        }
    
        def "failure in transformation chain propagates (position in chain: #failingTransform)"() {
            given:
    
            Closure<String> possiblyFailingTransform = { index ->
                index == failingTransform ? "FailingDuplicator" : "Duplicator"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_client.go

    	if c.config.GetClientCertificate != nil {
    		return c.config.GetClientCertificate(cri)
    	}
    
    	for _, chain := range c.config.Certificates {
    		if err := cri.SupportsCertificate(&chain); err != nil {
    			continue
    		}
    		return &chain, nil
    	}
    
    	// No acceptable certificate found. Don't send a certificate.
    	return new(Certificate), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  9. chainable_api.go

    	} else {
    		tx.Statement.Omits = columns
    	}
    	return
    }
    
    // Where add conditions
    //
    // See the [docs] for details on the various formats that where clauses can take. By default, where clauses chain with AND.
    //
    //	// Find the first user with name jinzhu
    //	db.Where("name = ?", "jinzhu").First(&user)
    //	// Find the first user with name jinzhu and age 20
    //	db.Where(&User{Name: "jinzhu", Age: 20}).First(&user)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/cni-watcher.go

    	mux.HandleFunc(pconstants.CNIAddEventPath, s.handleAddEvent)
    	return s
    }
    
    func (s *CniPluginServer) Stop() {
    	s.cniListenServerCancel()
    }
    
    // Start starts up a UDS server which receives events from the CNI chain plugin.
    func (s *CniPluginServer) Start() error {
    	if s.sockAddress == "" {
    		return fmt.Errorf("no socket address provided")
    	}
    	log.Info("Start a listen server for CNI plugin events")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top