Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,990 for cgoUse (0.26 sec)

  1. pkg/kubelet/cm/topologymanager/policy.go

    	//
    	// For case (3c), we know that *both* the current bestHint and the
    	// candidate hint are less than bestNonPreferredAffinityCount, so we
    	// want to choose one that brings us back up as close to
    	// bestNonPreferredAffinityCount as possible. There are three cases to
    	// consider here:
    	//
    	//   3ca. candidate.NUMANodeAffinity.Count() >  current.NUMANodeAffinity.Count()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/svn.go

    		}
    
    		n, err := io.Copy(zf, f)
    		f.Close()
    		if err != nil {
    			return err
    		}
    		if n != e.Size {
    			return vcsErrorf("file size differs between 'svn list' and 'svn export': file %s listed as %v bytes, but exported as %v bytes", e.Name, e.Size, n)
    		}
    	}
    
    	return zw.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. src/runtime/race/testdata/select_test.go

    	}()
    	_ = x
    	<-done
    }
    
    // The idea behind this test:
    // there are two variables, access to one
    // of them is synchronized, access to the other
    // is not.
    // Select must (unconditionally) choose the non-synchronized variable
    // thus causing exactly one race.
    // Currently this test doesn't look like it accomplishes
    // this goal.
    func TestRaceSelect5(t *testing.T) {
    	done := make(chan bool, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 05:25:54 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/lockedfile/mutex.go

    func (mu *Mutex) Lock() (unlock func(), err error) {
    	if mu.Path == "" {
    		panic("lockedfile.Mutex: missing Path during Lock")
    	}
    
    	// We could use either O_RDWR or O_WRONLY here. If we choose O_RDWR and the
    	// file at mu.Path is write-only, the call to OpenFile will fail with a
    	// permission error. That's actually what we want: if we add an RLock method
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 17:17:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  5. docs/hotfixes.md

    ```
    commit 4f3317effea38c203c358af9cb5ce3c0e4173976
    Author: Klaus Post <******@****.***>
    Date:   Mon Nov 8 08:41:27 2021 -0800
    
        Close stream on panic (#13605)
    
        Always close streamHTTPResponse on panic on main thread to avoid
        write/flush after response handler has returned.
    ```
    
    ```
    λ git cherry-pick 4f3317effea38c203c358af9cb5ce3c0e4173976
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/syscall/exec_unix_test.go

    	defer func() {
    		if p := recover(); p != nil {
    			t.Fatal("forkExec panicked")
    		}
    	}()
    
    	// We don't really care what the result of forkExec is, just that it doesn't
    	// panic, so we choose something we know won't actually spawn a process (probably).
    	syscall.ForkExec("/dev/null", nil, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/troubleshooting/version_catalog_problems.adoc

    [[reserved_alias_name]]
    == Use of a reserved alias name
    
    This error indicates that you chose an alias which is a reserved name.
    Typically this happens if you choose an alias which starts with `versions`, `bundles`, or `plugins` or contains `extensions`, `convention`, `class`, as it may clash with generated accessors.
    
    To fix this problem, you must choose a different alias.
    
    [[undefined_version_reference]]
    == Undefined version reference
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 13 21:49:09 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/io/io_test.go

    	wt.writeToCalled = true
    	return wt.Buffer.WriteTo(w)
    }
    
    // It's preferable to choose WriterTo over ReaderFrom, since a WriterTo can issue one large write,
    // while the ReaderFrom must read until EOF, potentially allocating when running out of buffer.
    // Make sure that we choose WriterTo when both are implemented.
    func TestCopyPriority(t *testing.T) {
    	rb := new(writeToChecker)
    	wb := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher.go

    		c.stopped = true
    		// stop without draining the input channel was requested.
    		if !c.drainInputBuffer {
    			close(c.done)
    		}
    		close(c.input)
    	}
    
    	// Even if the watcher was already stopped, if it previously was
    	// using draining mode and it's not using it now we need to
    	// close the done channel now. Otherwise we could leak the
    	// processing goroutine if it will be trying to put more objects
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 12:22:41 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  10. pkg/test/echo/server/endpoint/http.go

    	if err != nil {
    		epLog.Errorf("readiness failed for endpoint %s: %v", url, err)
    	} else {
    		epLog.Infof("ready for HTTP endpoint %s", url)
    	}
    }
    
    func (s *httpInstance) Close() error {
    	if s.server != nil {
    		return s.server.Close()
    	}
    	return nil
    }
    
    type httpHandler struct {
    	Config
    }
    
    // Imagine a pie of different flavors.
    // The flavors are the HTTP response codes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 12.8K bytes
    - Viewed (0)
Back to top