Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 469 for nothings (0.22 sec)

  1. docs/en/docs/python-types.md

    Then, you try with the old programmer's friend, editor autocompletion.
    
    You type the first parameter of the function, `first_name`, then a dot (`.`) and then hit `Ctrl+Space` to trigger the completion.
    
    But, sadly, you get nothing useful:
    
    <img src="/img/python-types/image01.png">
    
    ### Add types
    
    Let's modify a single line from the previous version.
    
    We will change exactly this fragment, the parameters of the function, from:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/unify.go

    func (u *unifier) join(x, y *TypeParam) bool {
    	if traceInference {
    		u.tracef("%s ⇄ %s", x, y)
    	}
    	switch hx, hy := u.handles[x], u.handles[y]; {
    	case hx == hy:
    		// Both type parameters already share the same handle. Nothing to do.
    	case *hx != nil && *hy != nil:
    		// Both type parameters have (possibly different) inferred types. Cannot join.
    		return false
    	case *hx != nil:
    		// Only type parameter x has an inferred type. Use handle of x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. pilot/pkg/xds/delta.go

    	if res.Contains("*") {
    		wildcard = true
    		res.Delete("*")
    	}
    	// "if the client sends a request but has never explicitly subscribed to any resource names, the
    	// server should treat that identically to how it would treat the client having explicitly
    	// subscribed to *"
    	// NOTE: this means you cannot subscribe to nothing, which is useful for on-demand loading; to workaround this
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. src/runtime/lock_sema.go

    		v = atomic.Loaduintptr(&n.key)
    		if atomic.Casuintptr(&n.key, v, locked) {
    			break
    		}
    	}
    
    	// Successfully set waitm to locked.
    	// What was it before?
    	switch {
    	case v == 0:
    		// Nothing was waiting. Done.
    	case v == locked:
    		// Two notewakeups! Not allowed.
    		throw("notewakeup - double wakeup")
    	default:
    		// Must be the waiting m. Wake it up.
    		semawakeup((*m)(unsafe.Pointer(v)))
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/internal/coverage/cfile/testdata/harness.go

    	// Now that we know how many writes are going to happen, run the
    	// function repeatedly, each time with a Write operation set to
    	// fail at a new spot. The goal here is to make sure that:
    	// A) an error is reported, and B) nothing crashes.
    	tot := fw.writeCount
    	for i := 0; i < tot; i++ {
    		fw.reset(i)
    		err := testf(fw)
    		if err == nil {
    			log.Fatalf("no error from write %d tag %s", i, tag)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		pageSize        = 4096
    	)
    
    	if loadSegment.Vaddr == start-offset {
    		return offset, true
    	}
    	if start == 0 && limit != 0 && stextOffset != nil {
    		// ChromeOS remaps its kernel to 0. Nothing else should come
    		// down this path. Empirical values:
    		//       VADDR=0xffffffff80200000
    		// stextOffset=0xffffffff80200198
    		return start - *stextOffset, true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. manifests/charts/ztunnel/templates/daemonset.yaml

                - ALL
                add: # See https://man7.org/linux/man-pages/man7/capabilities.7.html
                - NET_ADMIN # Required for TPROXY and setsockopt
                - SYS_ADMIN # Required for `setns` - doing things in other netns
                - NET_RAW # Required for RAW/PACKET sockets, TPROXY
              readOnlyRootFilesystem: true
              runAsGroup: 1337
              runAsNonRoot: false
              runAsUser: 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 01:33:52 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. internal/event/target/mqtt.go

    		return err
    	}
    
    	// Do not send if the connection is not active.
    	_, err := target.isActive()
    	if err != nil {
    		return err
    	}
    
    	return target.send(eventData)
    }
    
    // Close - does nothing and available for interface compatibility.
    func (target *MQTTTarget) Close() error {
    	if target.client != nil {
    		target.client.Disconnect(100)
    	}
    	close(target.quitCh)
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho_update_uuid.go

    // that newer versions of the Macos toolchain (the newer linker in
    // particular) appear to compute the UUID based not just on the
    // content of the object files being linked but also on things like
    // the timestamps/paths of the objects; this makes it
    // difficult/impossible to support reproducible builds. Since we try
    // hard to maintain build reproducibility for Go, the APIs here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/internal/coverage/rtcov/rtcov.go

    		if Meta.PkgMap == nil {
    			Meta.PkgMap = make(map[int]int)
    		}
    		if _, ok := Meta.PkgMap[pkgid]; ok {
    			return 0
    		}
    		// Record the real slot (position on meta-list) for this
    		// package; we'll use the map to fix things up later on.
    		Meta.PkgMap[pkgid] = slot
    	}
    
    	// ID zero is reserved as invalid.
    	return uint32(slot + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top