Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 107 for Guess (0.06 sec)

  1. src/syscall/syscall_bsd.go

    	// Final argument is (basep *uintptr) and the syscall doesn't take nil.
    	// 64 bits should be enough. (32 bits isn't even on 386). Since the
    	// actual system call is getdirentries64, 64 is a good guess.
    	// TODO(rsc): Can we use a single global basep for all calls?
    	var base = (*uintptr)(unsafe.Pointer(new(uint64)))
    	return Getdirentries(fd, buf, base)
    }
    
    // Wait status is 7 bits at bottom, either 0 (exited),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    			// section; there must be a preceding call to handleRegularFile.
    			if err := tr.handleSparseFile(hdr, rawHdr); err != nil {
    				return nil, err
    			}
    
    			// Set the final guess at the format.
    			if format.has(FormatUSTAR) && format.has(FormatPAX) {
    				format.mayOnlyBe(FormatUSTAR)
    			}
    			hdr.Format = format
    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		// size is 4KB virtually on all the architectures that we care about, so we
    		// define this metric as a constant. If we encounter architectures where
    		// page sie is not 4KB, we must try to guess the page size on the system
    		// where the profile was collected, possibly using the architecture
    		// specified in the ELF file header.
    		pageSize       = 4096
    		pageOffsetMask = pageSize - 1
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/html/template/escape.go

    			break
    		}
    	}
    	return c
    }
    
    // escapeListConditionally escapes a list node but only preserves edits and
    // inferences in e if the inferences and output context satisfy filter.
    // It returns the best guess at an output context, and the result of the filter
    // which is the same as whether e was updated.
    func (e *escaper) escapeListConditionally(c context, n *parse.ListNode, filter func(*escaper, context) bool) (context, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

         * queried.
         *
         * Unless custom implementation of resources is passed,
         * the tar tree attempts to guess the compression based on the file extension.
         *
         * You can combine this method with the [KotlinInitScript.copy] method to unzip a ZIP file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    	spec := importSpec(f, path)
    	if spec == nil {
    		return
    	}
    
    	name := spec.Name.String()
    	switch name {
    	case "<nil>":
    		// If the package name is not explicitly specified,
    		// make an educated guess. This is not guaranteed to be correct.
    		lastSlash := strings.LastIndex(path, "/")
    		if lastSlash == -1 {
    			name = path
    		} else {
    			name = path[lastSlash+1:]
    		}
    	case "_", ".":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    	// We will want to lookup a pod to find metadata like service account, labels, etc. But for hostNetwork, we just get a raw IP,
    	// and the IP may be shared by many pods. Best we can do is guess.
    	pods := c.pods.getPodsByIP(ip)
    	for _, p := range pods {
    		if p.Namespace == namespace {
    			// Might not be right, but best we can do.
    			return p
    		}
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
       * of values that will be added, if that knowledge is readily available. It is better to guess a
       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. pkg/collateral/control.go

    // string for a flag and returns it and the un-quoted usage.
    // Given "a `name` to show" it returns ("name", "a name to show").
    // If there are no back quotes, the name is an educated guess of the
    // type of the flag's value, or the empty string if the flag is boolean.
    func unquoteUsage(flag *pflag.Flag) (name string, usage string) {
    	// Look for a back-quoted name, but avoid the strings package.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
       * of values that will be added, if that knowledge is readily available. It is better to guess a
       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableDoubleArray} that is built will very likely occupy more memory than strictly
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top