Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 226 for Implementation (0.19 sec)

  1. src/flag/flag.go

    }
    
    // Var defines a flag with the specified name and usage string. The type and
    // value of the flag are represented by the first argument, of type [Value], which
    // typically holds a user-defined implementation of [Value]. For instance, the
    // caller could create a flag that turns a comma-separated string into a slice
    // of strings by giving the slice the methods of [Value]; in particular, [Set] would
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/shell.go

    		if escaped != sh.workDir {
    			cmd = strings.ReplaceAll(cmd, escaped, "$WORK")
    		}
    	}
    	return cmd
    }
    
    // ShowCmd prints the given command to standard output
    // for the implementation of -n or -x.
    //
    // ShowCmd also replaces the name of the current script directory with dot (.)
    // but only when it is at the beginning of a space-separated token.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/math/big/float.go

    // x and y must have a non-empty mantissa and valid exponent.
    func (z *Float) uadd(x, y *Float) {
    	// Note: This implementation requires 2 shifts most of the
    	// time. It is also inefficient if exponents or precisions
    	// differ by wide margins. The following article describes
    	// an efficient (but much more complicated) implementation
    	// compatible with the internal representation used here:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  4. src/math/big/int_test.go

    	b := new(Int).SetBytes(bBytes)
    
    	d := new(Int).GCD(x, y, a, b)
    	x.Mul(x, a)
    	y.Mul(y, b)
    	x.Add(x, y)
    
    	return x.Cmp(d) == 0
    }
    
    // euclidExtGCD is a reference implementation of Euclid's
    // extended GCD algorithm for testing against optimized algorithms.
    // Requirements: a, b > 0
    func euclidExtGCD(a, b *Int) (g, x, y *Int) {
    	A := new(Int).Set(a)
    	B := new(Int).Set(b)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  5. src/net/http/clientserver_test.go

    	return func(ts *httptest.Server) {
    		ts.Config.ErrorLog = lg
    	}
    }
    
    // newClientServerTest creates and starts an httptest.Server.
    //
    // The mode parameter selects the implementation to test:
    // HTTP/1, HTTP/2, etc. Tests using newClientServerTest should use
    // the 'run' function, which will start a subtests for each tested mode.
    //
    // The vararg opts parameter can include functions to configure the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  6. src/reflect/value.go

    				default:
    					panic("unknown ABI part kind")
    				}
    			}
    			ret[i] = Value{tv, s, flagIndir | flag(tv.Kind())}
    		}
    	}
    
    	return ret
    }
    
    // callReflect is the call implementation used by a function
    // returned by MakeFunc. In many ways it is the opposite of the
    // method Value.call above. The method above converts a call using Values
    // into a call of a function with a concrete argument frame, while
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/fsys/fsys.go

    			return nil, &fs.PathError{Op: opName, Path: cpath, Err: nonFileInOverlayError(node.actualFilePath)}
    		}
    		return fakeFile{name: filepath.Base(path), real: fi}, nil
    	}
    }
    
    // fakeFile provides an fs.FileInfo implementation for an overlaid file,
    // so that the file has the name of the overlaid file, but takes all
    // other characteristics of the replacement file.
    type fakeFile struct {
    	name string
    	real fs.FileInfo
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/named.go

    	return Unalias(t.resolve().underlying)
    }
    
    func (t *Named) String() string { return TypeString(t, nil) }
    
    // ----------------------------------------------------------------------------
    // Implementation
    //
    // TODO(rfindley): reorganize the loading and expansion methods under this
    // heading.
    
    // under returns the expanded underlying type of n0; possibly by following
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server_test.go

    	}
    }
    
    // Note: see comment in handshake_test.go for details of how the reference
    // tests work.
    
    // serverTest represents a test of the TLS server handshake against a reference
    // implementation.
    type serverTest struct {
    	// name is a freeform string identifying the test and the file in which
    	// the expected results will be stored.
    	name string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. src/runtime/mprof.go

    // them is responsible.
    //
    // Matching that behavior for runtime-internal locks will require identifying
    // which Ms are blocked on the mutex. The semaphore-based implementation is
    // ready to allow that, but the futex-based implementation will require a bit
    // more work. Until then, we report contention on runtime-internal locks with a
    // call stack taken from the unlock call (like the rest of the user-space
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top