Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 468 for setString (0.21 sec)

  1. src/crypto/ecdsa/ecdsa_test.go

    	}
    
    	if r0.Cmp(r1) == 0 {
    		t.Errorf("two signatures of the same message produced the same nonce")
    	}
    }
    
    func fromHex(s string) *big.Int {
    	r, ok := new(big.Int).SetString(s, 16)
    	if !ok {
    		panic("bad hex")
    	}
    	return r
    }
    
    func TestVectors(t *testing.T) {
    	// This test runs the full set of NIST test vectors from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    					}
    				}
    				return Quantity{i: int64Amount{value: result, scale: Scale(scale)}, Format: format}, nil
    			}
    		}
    	}
    
    	amount := new(inf.Dec)
    	if _, ok := amount.SetString(value); !ok {
    		return Quantity{}, ErrNumeric
    	}
    
    	// So that no one but us has to think about suffixes, remove it.
    	if base == 10 {
    		amount.SetScale(amount.Scale() + Scale(exponent).infScale())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. src/fmt/scan.go

    		case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    			v.SetUint(s.scanUint(verb, v.Type().Bits()))
    		case reflect.String:
    			v.SetString(s.convertString(verb))
    		case reflect.Slice:
    			// For now, can only handle (renamed) []byte.
    			typ := v.Type()
    			if typ.Elem().Kind() != reflect.Uint8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  4. src/text/template/exec.go

    	panic("not reached")
    }
    
    func (s *state) evalString(typ reflect.Type, n parse.Node) reflect.Value {
    	s.at(n)
    	if n, ok := n.(*parse.StringNode); ok {
    		value := reflect.New(typ).Elem()
    		value.SetString(n.Text)
    		return value
    	}
    	s.errorf("expected string; found %s", n)
    	panic("not reached")
    }
    
    func (s *state) evalInteger(typ reflect.Type, n parse.Node) reflect.Value {
    	s.at(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            String response = checkMethodBase(requestBody).put("/api/admin/webconfig/setting").asString();
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getBoolean("response.created"));
            assertEquals(0, jsonPath.getInt("response.status"));
            return jsonPath.getString("response.id");
        }
    
        protected static List<String> getWebConfigIds(final String namePrefix) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. cni/pkg/cmd/root.go

    		LabelKey:           viper.GetString(constants.RepairLabelKey),
    		LabelValue:         viper.GetString(constants.RepairLabelValue),
    		NodeName:           viper.GetString(constants.RepairNodeName),
    		SidecarAnnotation:  viper.GetString(constants.RepairSidecarAnnotation),
    		InitContainerName:  viper.GetString(constants.RepairInitContainerName),
    		InitTerminationMsg: viper.GetString(constants.RepairInitTerminationMsg),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. doc/godebug.md

    The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
    There are no runtime metrics for this change,
    This setting may be removed in a future release, Go 1.27 at the earliest.
    
    Go 1.23 changed the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat)
    for reparse points, which can be controlled with the `winsymlink` setting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    		}
    		s.locationIDX = nil
    	}
    
    	p.DropFrames, err = getString(p.stringTable, &p.dropFramesX, err)
    	p.KeepFrames, err = getString(p.stringTable, &p.keepFramesX, err)
    
    	if pt := p.PeriodType; pt == nil {
    		p.PeriodType = &ValueType{}
    	}
    
    	if pt := p.PeriodType; pt != nil {
    		pt.Type, err = getString(p.stringTable, &pt.typeX, err)
    		pt.Unit, err = getString(p.stringTable, &pt.unitX, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

                        return "REALPATH for ${buffer.getString()}"
                    case SftpConstants.SSH_FXP_STAT:
                        return "STAT for ${buffer.getString()}"
                    case SftpConstants.SSH_FXP_OPENDIR:
                        return "OPENDIR for ${buffer.getString()}"
                    case SftpConstants.SSH_FXP_READDIR:
                        return "READDIR for ${buffer.getString()}"
                    case SftpConstants.SSH_FXP_MKDIR:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/runtime/extern.go

    	gcshrinkstackoff: setting gcshrinkstackoff=1 disables moving goroutines
    	onto smaller stacks. In this mode, a goroutine's stack can only grow.
    
    	gcstoptheworld: setting gcstoptheworld=1 disables concurrent garbage collection,
    	making every garbage collection a stop-the-world event. Setting gcstoptheworld=2
    	also disables concurrent sweeping after the garbage collection finishes.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top