Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 152 for unwrapping (0.27 sec)

  1. staging/src/k8s.io/apimachinery/pkg/labels/labels.go

    // perform any validation.
    // According to our measurements this is significantly faster
    // in codepaths that matter at high scale.
    // Note: this method copies the Set; if the Set is immutable, consider wrapping it with ValidatedSetSelector
    // instead, which does not copy.
    func (ls Set) AsSelectorPreValidated() Selector {
    	return SelectorFromValidatedSet(ls)
    }
    
    // FormatLabels converts label map into plain string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/interleaved/interleaved.go

    	// removed them all.
    
    	var parens []*ir.ParenExpr
    	var mark func(ir.Node) ir.Node
    	mark = func(n ir.Node) ir.Node {
    		if _, ok := n.(*ir.ParenExpr); ok {
    			return n // already visited n.X before wrapping
    		}
    
    		ok := match(n)
    
    		ir.EditChildren(n, mark)
    
    		if ok {
    			paren := ir.NewParenExpr(n.Pos(), n)
    			paren.SetType(n.Type())
    			paren.SetTypecheck(n.Typecheck())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertThrows(IOException.class, () -> reader.mark(10));
    
        assertThrows(IOException.class, () -> reader.reset());
      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/os/error.go

    	return ok && terr.Timeout()
    }
    
    func underlyingErrorIs(err, target error) bool {
    	// Note that this function is not errors.Is:
    	// underlyingError only unwraps the specific error-wrapping types
    	// that it historically did, not all errors implementing Unwrap().
    	err = underlyingError(err)
    	if err == target {
    		return true
    	}
    	// To preserve prior behavior, only examine syscall errors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/abi.go

    	pos := base.AutogeneratedPos
    	base.Pos = pos
    
    	// At the moment we don't support wrapping a method, we'd need machinery
    	// below to handle the receiver. Panic if we see this scenario.
    	ft := f.Nname.Type()
    	if ft.NumRecvs() != 0 {
    		base.ErrorfAt(f.Pos(), 0, "makeABIWrapper support for wrapping methods not implemented")
    		return
    	}
    
    	// Reuse f's types.Sym to create a new ODCLFUNC/function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/os/file.go

    var (
    	Stdin  = NewFile(uintptr(syscall.Stdin), "/dev/stdin")
    	Stdout = NewFile(uintptr(syscall.Stdout), "/dev/stdout")
    	Stderr = NewFile(uintptr(syscall.Stderr), "/dev/stderr")
    )
    
    // Flags to OpenFile wrapping those of the underlying system. Not all
    // flags may be implemented on a given system.
    const (
    	// Exactly one of O_RDONLY, O_WRONLY, or O_RDWR must be specified.
    	O_RDONLY int = syscall.O_RDONLY // open the file read-only.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                        + "a org.eclipse.sisu.Typed or javax.enterprise.inject.Typed annotation");
            }
        }
    
        /**
         * A provider wrapping an existing provider with a cache
         * @param <T> the provided type
         */
        protected static class CachingProvider<T> implements Provider<T> {
            private final Provider<T> provider;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/crypto/x509/pkcs8.go

    			return nil, fmt.Errorf("x509: invalid X25519 private key: %v", err)
    		}
    		return ecdh.X25519().NewPrivateKey(curvePrivateKey)
    
    	default:
    		return nil, fmt.Errorf("x509: PKCS#8 wrapping contained private key with unknown algorithm: %v", privKey.Algo.Algorithm)
    	}
    }
    
    // MarshalPKCS8PrivateKey converts a private key to PKCS #8, ASN.1 DER form.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/closure.go

    	// ensures it's compiled.
    	ir.CurFunc.Closures = append(ir.CurFunc.Closures, clofn)
    }
    
    func walkClosure(clo *ir.ClosureExpr, init *ir.Nodes) ir.Node {
    	clofn := clo.Func
    
    	// If no closure vars, don't bother wrapping.
    	if ir.IsTrivialClosure(clo) {
    		if base.Debug.Closure > 0 {
    			base.WarnfAt(clo.Pos(), "closure converted to global")
    		}
    		return clofn.Nname
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. pkg/config/mesh/watcher.go

    	// HandleUserMeshConfig keeps track of user mesh config overrides. These are merged with the standard
    	// mesh config, which takes precedence.
    	HandleUserMeshConfig(string)
    }
    
    // MultiWatcher is a struct wrapping the internal injector to let users know that both
    type MultiWatcher struct {
    	*internalWatcher
    	internalNetworkWatcher
    }
    
    func NewMultiWatcher(config *meshconfig.MeshConfig) *MultiWatcher {
    	iw := &internalWatcher{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top