Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 186 for unwrapping (0.24 sec)

  1. pkg/proxy/util/network.go

    // for testing purposes.
    type NetworkInterfacer interface {
    	InterfaceAddrs() ([]net.Addr, error)
    }
    
    // RealNetwork implements the NetworkInterfacer interface for production code, just
    // wrapping the underlying net library function calls.
    type RealNetwork struct{}
    
    // InterfaceAddrs wraps net.InterfaceAddrs(), it's a part of NetworkInterfacer interface.
    func (RealNetwork) InterfaceAddrs() ([]net.Addr, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 05 08:08:19 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_windows.go

    	addr, err := windows.MapViewOfFile(h, syscall.FILE_MAP_READ|syscall.FILE_MAP_WRITE, 0, 0, 0)
    	if err != nil {
    		return Data{}, fmt.Errorf("MapViewOfFile %s: %w", f.Name(), err)
    	}
    	// need to remember addr and h for unmapping
    	return Data{f, unsafe.Slice((*byte)(unsafe.Pointer(addr)), size), h}, nil
    }
    
    func munmapFile(d Data) error {
    	err := windows.UnmapViewOfFile(uintptr(unsafe.Pointer(&d.Data[0])))
    	x, ok := d.Windows.(windows.Handle)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

        }
    
        public AbstractMojoExecutionException(String message, Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new {@code AbstractMojoExecutionException} exception wrapping an underlying {@code Throwable}.
         *
         * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

    public abstract class ForwardingImmutableSet<E> extends ImmutableSet<E> {
      private final transient Set<E> delegate;
    
      ForwardingImmutableSet(Set<E> delegate) {
        // TODO(cpovirk): are we over-wrapping?
        this.delegate = Collections.unmodifiableSet(delegate);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegate.iterator());
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/outbuf_windows.go

    		panic("mmap size too small")
    	}
    	copy(out.buf[oldlen:], out.heap)
    	out.heap = out.heap[:0]
    	return nil
    }
    
    func (out *OutBuf) munmap() {
    	if out.buf == nil {
    		return
    	}
    	// Apparently unmapping without flush may cause ACCESS_DENIED error
    	// (see issue 38440).
    	err := syscall.FlushViewOfFile(uintptr(unsafe.Pointer(&out.buf[0])), 0)
    	if err != nil {
    		Exitf("FlushViewOfFile failed: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 01:59:25 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/client_ca.go

    	// clientCA holds the content for the clientCA bundle
    	clientCA    caBundleContent
    	servingCert certKeyContent
    	sniCerts    []sniCertKeyContent
    }
    
    // caBundleContent holds the content for the clientCA bundle.  Wrapping the bytes makes the Equals work nicely with the
    // method receiver.
    type caBundleContent struct {
    	caBundle []byte
    }
    
    func (c *dynamicCertificateContent) Equal(rhs *dynamicCertificateContent) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 12 18:29:15 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go

    	*out = *t
    }
    
    // NewTime returns a wrapped instance of the provided time
    func NewTime(time time.Time) Time {
    	return Time{time}
    }
    
    // Date returns the Time corresponding to the supplied parameters
    // by wrapping time.Date.
    func Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) Time {
    	return Time{time.Date(year, month, day, hour, min, sec, nsec, loc)}
    }
    
    // Now returns the current local time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time.go

    // NewMicroTime returns a wrapped instance of the provided time
    func NewMicroTime(time time.Time) MicroTime {
    	return MicroTime{time}
    }
    
    // DateMicro returns the MicroTime corresponding to the supplied parameters
    // by wrapping time.Date.
    func DateMicro(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) MicroTime {
    	return MicroTime{time.Date(year, month, day, hour, min, sec, nsec, loc)}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        assertEquals(65536, replacementArray.length);
        // The final element should always be non-null.
        assertNotNull(replacementArray[replacementArray.length - 1]);
        // Exhaustively check all mappings (an int index avoids wrapping).
        for (int n = 0; n < replacementArray.length; ++n) {
          char c = (char) n;
          if (replacementArray[n] != null) {
            assertEquals(map.get(c), new String(replacementArray[n]));
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FlatMapProvider.java

            // is going to be executed before this fixed side effect.
            // It is not possible to preserve linear execution order in the general case,
            // as the transformed provider can have side effects hidden under other wrapping providers.
            return Providers.internal(transformedProvider).withSideEffect(SideEffect.fixedFrom(value));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top