Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 923 for read1 (0.05 sec)

  1. src/io/fs/readdir.go

    // that provides an optimized implementation of [ReadDir].
    type ReadDirFS interface {
    	FS
    
    	// ReadDir reads the named directory
    	// and returns a list of directory entries sorted by filename.
    	ReadDir(name string) ([]DirEntry, error)
    }
    
    // ReadDir reads the named directory
    // and returns a list of directory entries sorted by filename.
    //
    // If fs implements [ReadDirFS], ReadDir calls fs.ReadDir.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_reader.h

    TF_CAPI_EXPORT extern TFE_MonitoringCounterReader*
    TFE_MonitoringNewCounterReader(const char* name);
    
    // Reads the value of a counter that was created with 0 labels.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter0(
        TFE_MonitoringCounterReader*);
    
    // Reads the value of specific cell of a counter that was created with 1 label.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter1(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/runtime/pprof/proto_other.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows && !darwin
    
    package pprof
    
    import (
    	"errors"
    	"os"
    )
    
    // readMapping reads /proc/self/maps and writes mappings to b.pb.
    // It saves the address ranges of the mappings in b.mem for use
    // when emitting locations.
    func (b *profileBuilder) readMapping() {
    	data, _ := os.ReadFile("/proc/self/maps")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 928 bytes
    - Viewed (0)
  4. test/chan/select3.go

    				panic("expected 0, false from closed channel")
    			}
    		}
    	})
    
    	// sending to a closed channel panics.
    	testPanic(always, func() {
    		closedch <- 7
    	})
    
    	// receiving from a non-ready channel always blocks
    	testBlock(always, func() {
    		ch := make(chan int)
    		<-ch
    	})
    
    	// empty selects always block
    	testBlock(always, func() {
    		select {}
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 08 02:10:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  5. internal/grid/debug.go

    			BlockConnect: ready,
    		})
    		if err != nil {
    			return nil, err
    		}
    		m := mux.NewRouter()
    		m.Handle(RoutePath, manager.Handler())
    		res.Managers = append(res.Managers, manager)
    		res.Servers = append(res.Servers, startHTTPServer(listeners[i], m))
    		res.Listeners = append(res.Listeners, listeners[i])
    		res.Mux = append(res.Mux, m)
    	}
    	xioutil.SafeClose(ready)
    	for _, m := range res.Managers {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/util/util.go

    			readySandboxCount++
    		}
    	}
    
    	// Needs to create a new sandbox when readySandboxCount > 1 or the ready sandbox is not the latest one.
    	sandboxStatus := podStatus.SandboxStatuses[0]
    	if readySandboxCount > 1 {
    		klog.V(2).InfoS("Multiple sandboxes are ready for Pod. Need to reconcile them", "pod", klog.KObj(pod))
    		return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 4.6K bytes
    - Viewed (1)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    //
    // A call to Printf must have as many operands as there are "verbs" in
    // the format string, not too few:
    //
    //	fmt.Printf("%d") // fmt.Printf format reads arg 1, but call has 0 args
    //
    // nor too many:
    //
    //	fmt.Printf("%d", 1, 2) // fmt.Printf call needs 1 arg, but has 2 args
    //
    // Explicit argument indexes must be no greater than the number of
    // arguments:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. platforms/software/resources/src/main/java/org/gradle/internal/resource/transfer/ExternalResourceAccessor.java

    import javax.annotation.Nullable;
    
    /**
     * You should use {@link ExternalResource} instead of this type.
     */
    public interface ExternalResourceAccessor {
        /**
         * Reads the resource at the given location.
         *
         * If the resource does not exist, this method should return null.
         *
         * If the resource may exist but can't be accessed due to some configuration issue, the implementation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin || zos
    
    package unix
    
    import "unsafe"
    
    // ReadDirent reads directory entries from fd and writes them into buf.
    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	// Final argument is (basep *uintptr) and the syscall doesn't take nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 705 bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

                assert handle.standardOutput.contains(incubatingPrompt)
            }
            handle.stdinPipe.write(("no" + TextUtil.platformLineSeparator).bytes)
    
            // after generating the project, we suggest the user reads some documentation
            ConcurrentTestUtil.poll(60) {
                assert handle.standardOutput.contains(documentationRegistry.getSampleForMessage())
            }
    
            closeInteractiveExecutor(handle)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (1)
Back to top