Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 191 for COMMENT (0.69 sec)

  1. src/cmd/cgo/internal/test/test.go

    func issue67517() {
    	C.issue67517(&C.issue67517struct{
    		a: 0,
    
    		b: nil,
    	})
    	C.issue67517(&C.issue67517struct{
    		a: 0,
    		// comment
    		b: nil,
    	})
    	C.issue67517(&C.issue67517struct{
    		a: 0 +
    			// comment
    			1,
    		// comment
    		b: nil,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    // See go.dev/issue/67401.
    //
    //go:linkname entersyscallblock
    //go:nosplit
    func entersyscallblock() {
    	gp := getg()
    
    	gp.m.locks++ // see comment in entersyscall
    	gp.throwsplit = true
    	gp.stackguard0 = stackPreempt // see comment in entersyscall
    	gp.m.syscalltick = gp.m.p.ptr().syscalltick
    	gp.m.p.ptr().syscalltick++
    
    	// Leave SP around for GC and traceback.
    	pc := getcallerpc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  3. cmd/iam-etcd-store.go

    			}
    			return nil
    		}
    		u.Credentials.Claims = jwtClaims.Map()
    	}
    	if u.Credentials.Description == "" {
    		u.Credentials.Description = u.Credentials.Comment
    	}
    
    	m[user] = u
    	return nil
    }
    
    func (ies *IAMEtcdStore) loadUser(ctx context.Context, user string, userType IAMUserType, m map[string]UserIdentity) error {
    	var u UserIdentity
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

              instance_str = resource_instance_op.GetResourceInstanceStr();
            }
            // No value (`std::nullopt`) instance string signals that we should
            // ignore this effect, see comment for `GetResourceInstanceInterface`.
            if (!instance_str.has_value()) continue;
    
            TypeID type_id = effect.getResource()->getResourceID();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. src/testing/testing.go

    				doPanic(err)
    			}
    			t.checkRaces()
    			if !t.isParallel {
    				// Reacquire the count for sequential tests. See comment in Run.
    				t.context.waitParallel()
    			}
    		} else if t.isParallel {
    			// Only release the count for this test if it was run as a parallel
    			// test. See comment in Run method.
    			t.context.release()
    		}
    		t.report() // Report after all subtests have finished.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/read.go

    			badGoFile(name, &MultiplePackageError{
    				Dir:      p.Dir,
    				Packages: []string{p.Name, pkg},
    				Files:    []string{firstFile, name},
    			})
    		}
    		// Grab the first package comment as docs, provided it is not from a test file.
    		if p.Doc == "" && !isTest && !isXTest {
    			if synopsis := tf.synopsis(); synopsis != "" {
    				p.Doc = synopsis
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  7. src/go/types/stmt.go

    			} else {
    				first = d
    			}
    		}
    	}
    }
    
    func (check *Checker) openScope(node ast.Node, comment string) {
    	scope := NewScope(check.scope, node.Pos(), node.End(), comment)
    	check.recordScope(node, scope)
    	check.scope = scope
    }
    
    func (check *Checker) closeScope() {
    	check.scope = check.scope.Parent()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/buildid.go

    	}
    	contentID := actionID // temporary placeholder, likely unique
    	a.buildID = actionID + buildIDSeparator + contentID
    
    	// Executable binaries also record the main build ID in the middle.
    	// See "Build IDs" comment above.
    	if a.Mode == "link" {
    		mainpkg := a.Deps[0]
    		a.buildID = actionID + buildIDSeparator + mainpkg.buildID + buildIDSeparator + contentID
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. src/go/types/unify.go

    	yorig, y := y, Unalias(y)
    
    	switch x := x.(type) {
    	case *Basic:
    		// Basic types are singletons except for the rune and byte
    		// aliases, thus we cannot solely rely on the x == y check
    		// above. See also comment in TypeName.IsAlias.
    		if y, ok := y.(*Basic); ok {
    			return x.kind == y.kind
    		}
    
    	case *Array:
    		// Two array types unify if they have the same array length
    		// and their element types unify.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net.go

    //
    // Dupe IPs should be considered an IPAM error and should never happen.
    func addPodToHostNSIpset(pod *corev1.Pod, podIPs []netip.Addr, hostsideProbeSet *ipset.IPSet) ([]netip.Addr, error) {
    	// Add the pod UID as an ipset entry comment, so we can (more) easily find and delete
    	// all relevant entries for a pod later.
    	podUID := string(pod.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	var ipsetAddrErrs []error
    	var addedIps []netip.Addr
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top