Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 323 for effort (0.14 sec)

  1. src/internal/trace/testtrace/validation.go

    		// generate a Log. The category and message are entirely user-created,
    		// so we can't make any assumptions as to what they are. We also
    		// can't validate the task, because proving the task's existence is very
    		// much best-effort.
    		_ = ev.Log()
    	}
    	return e.Errors()
    }
    
    func (v *Validator) hasRange(r trace.ResourceID, name string) bool {
    	ranges, ok := v.ranges[r]
    	return ok && slices.Contains(ranges, name)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/runtime/debug/garbage.go

    // The runtime.Error that the runtime panics with may have an additional method:
    //
    //	Addr() uintptr
    //
    // If that method exists, it returns the memory address which triggered the fault.
    // The results of Addr are best-effort and the veracity of the result
    // may depend on the platform.
    // SetPanicOnFault applies only to the current goroutine.
    // It returns the previous setting.
    func SetPanicOnFault(enabled bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/buildid.go

    				// build IDs of completed actions.
    				oldBuildID := a.buildID
    				a.buildID = id[1] + buildIDSeparator + id[2]
    				linkID := buildid.HashToString(b.linkActionID(a.triggers[0]))
    				if id[0] == linkID {
    					// Best effort attempt to display output from the compile and link steps.
    					// If it doesn't work, it doesn't work: reusing the cached binary is more
    					// important than reprinting diagnostic information.
    					if printOutput {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/toolchain/select.go

    		return err
    	}
    	// The module cache has unwritable directories by default.
    	// Restore the user write bit in the directory so we can create
    	// the new go.mod file. We clear it again at the end on a
    	// best-effort basis (ignoring failures).
    	dir := filepath.Dir(old)
    	info, err := os.Stat(dir)
    	if err != nil {
    		return err
    	}
    	if err := os.Chmod(dir, info.Mode()|writeBits); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. pkg/kubelet/logs/container_log_manager.go

    	f, err := c.osInterface.OpenFile(tmpLog, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644)
    	if err != nil {
    		return fmt.Errorf("failed to create temporary log %q: %v", tmpLog, err)
    	}
    	defer func() {
    		// Best effort cleanup of tmpLog.
    		c.osInterface.Remove(tmpLog)
    	}()
    	defer f.Close()
    	w := gzip.NewWriter(f)
    	defer w.Close()
    	if _, err := io.Copy(w, r); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/runtime/preempt.go

    		// there's an active race. Once the CAS succeeds, we
    		// should queue up the preemption (which will require
    		// it to be reliable in the _Grunning case, not
    		// best-effort) and then sleep until we're notified
    		// that the goroutine is suspended.
    		if i == 0 {
    			nextYield = nanotime() + yieldDelay
    		}
    		if nanotime() < nextYield {
    			procyield(10)
    		} else {
    			osyield()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. src/os/exec/exec.go

    	buf.Write(w.suffix[:w.suffixOff])
    	return buf.Bytes()
    }
    
    // environ returns a best-effort copy of the environment in which the command
    // would be run as it is currently configured. If an error occurs in computing
    // the environment, it is returned alongside the best-effort copy.
    func (c *Cmd) environ() ([]string, error) {
    	var err error
    
    	env := c.Env
    	if env == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  8. android/pom.xml

                obvious way to ensure that.
    
                We could consider arranging things so that only the tests we know need this would get
                the add-opens. Right now that doesn't seem worth the effort, though.
            -->
            <test.add.opens>
              --add-opens java.base/java.lang=ALL-UNNAMED
              --add-opens java.base/java.util=ALL-UNNAMED
              --add-opens java.base/sun.security.jca=ALL-UNNAMED
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. pom.xml

                obvious way to ensure that.
    
                We could consider arranging things so that only the tests we know need this would get
                the add-opens. Right now that doesn't seem worth the effort, though.
            -->
            <test.add.opens>
              --add-opens java.base/java.lang=ALL-UNNAMED
              --add-opens java.base/java.util=ALL-UNNAMED
              --add-opens java.base/sun.security.jca=ALL-UNNAMED
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_device.cc

                       "@tf.function(jit_compile=True) for must-compile "
                       "semantics, or run with TF_XLA_FLAGS=--tf_xla_auto_jit=2 "
                       "for auto-clustering best-effort compilation.";
        });
      }
    }
    
    void XlaDevice::Compute(OpKernel* op_kernel, OpKernelContext* context) {
      VLOG(2) << "XlaDevice::Compute " << op_kernel->name() << ":"
              << op_kernel->type_string();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top