Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for Approximates (0.67 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go

    		//	p := unsafe.Pointer(x.Data)
    		// because in the middle the garbage collector doesn't
    		// see x.Data as a pointer and so x.Data may be dangling
    		// by the time we get to the conversion at the end.
    		// For now approximate by saying that *Header is okay
    		// but Header is not.
    		pt, ok := aliases.Unalias(info.Types[x.X].Type).(*types.Pointer)
    		if ok && isReflectHeader(pt.Elem()) {
    			return true
    		}
    
    	case *ast.CallExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            }
            val needLocalTypeApproximation = needLocalTypeApproximation(visibilityForApproximation, isInlineFunction, session, useSitePosition)
            // TODO: can we approximate local types in type arguments *selectively* ?
            currentType = PublicTypeApproximator.approximateTypeToPublicDenotable(currentType, session, needLocalTypeApproximation)
                ?: currentType
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedLongs.java

          }
        }
    
        // Optimization - use signed division if dividend < 2^63
        if (dividend >= 0) {
          return dividend / divisor;
        }
    
        /*
         * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
         * guaranteed to be either exact or one less than the correct value. This follows from fact that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. pilot/pkg/xds/xdsgen.go

    			util.ByteCount(ResourceSize(res)), info, debug)
    	}
    
    	return nil
    }
    
    func ResourceSize(r model.Resources) int {
    	// Approximate size by looking at the Any marshaled size. This avoids high cost
    	// proto.Size, at the expense of slightly under counting.
    	size := 0
    	for _, r := range r {
    		size += len(r.Resource.Value)
    	}
    	return size
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go

    			// ingest these resize events.
    			return
    		}
    	}
    }
    
    // createChannels returns the standard channel types for a shell connection (STDIN 0, STDOUT 1, STDERR 2)
    // along with the approximate duplex value. It also creates the error (3) and resize (4) channels.
    func createChannels(opts Options) []wsstream.ChannelType {
    	// open the requested channels, and always open the error channel
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          }
        }
    
        // Optimization - use signed division if dividend < 2^63
        if (dividend >= 0) {
          return dividend / divisor;
        }
    
        /*
         * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
         * guaranteed to be either exact or one less than the correct value. This follows from fact that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/runtime/metrics/doc.go

    		math.MaxInt64. This value is set by the GOMEMLIMIT environment
    		variable, and the runtime/debug.SetMemoryLimit function.
    
    	/gc/heap/allocs-by-size:bytes
    		Distribution of heap allocations by approximate size.
    		Bucket counts increase monotonically. Note that this does not
    		include tiny objects as defined by /gc/heap/tiny/allocs:objects,
    		only tiny blocks.
    
    	/gc/heap/allocs:bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/positions.go

    			if n.Lhs != nil {
    				m = n.Lhs
    				continue
    			}
    			m = n.X
    		// case *CaseClause:
    		// case *CommClause:
    
    		default:
    			return n.Pos()
    		}
    	}
    }
    
    // EndPos returns the approximate end position of n in the source.
    // For some nodes (*Name, *BasicLit) it returns the position immediately
    // following the node; for others (*BlockStmt, *SwitchStmt, etc.) it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. CREDITS

      If the disclaimer of warranty and limitation of liability provided
    above cannot be given local legal effect according to their terms,
    reviewing courts shall apply local law that most closely approximates
    an absolute waiver of all civil liability in connection with the
    Program, unless a warranty or assumption of liability accompanies a
    copy of the Program in return for a fee.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
  10. src/cmd/gofmt/gofmt.go

    // it from rlimit on platforms that support that system call.
    //
    // File descriptors opened from outside of this package are not tracked,
    // so this limit may be approximate.
    var fdSem = make(chan bool, 200)
    
    var (
    	rewrite    func(*token.FileSet, *ast.File) *ast.File
    	parserMode parser.Mode
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: gofmt [flags] [path ...]\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top