Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 158 for Strip (0.07 sec)

  1. src/crypto/rsa/pss.go

    	// of the modulus. The spec would have us wire emLen into the encoding
    	// function, but we'd rather always encode to the size of the modulus and
    	// then strip leading zeroes if necessary. This only happens for weird
    	// modulus sizes anyway.
    	for len(em) > emLen && len(em) > 0 {
    		if em[0] != 0 {
    			return ErrVerification
    		}
    		em = em[1:]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/wasm/convert.go

    		if ps, found := envs.KeyValues[model.WasmPolicyEnv]; found {
    			if p, found := PullPolicyValues[ps]; found {
    				pullPolicy = p
    			}
    		}
    		resourceVersion = envs.KeyValues[model.WasmResourceVersionEnv]
    
    		// Strip all internal env variables(with ISTIO_META) from VM env variable.
    		// These env variables are added by Istio control plane and meant to be consumed by the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/crypto/tls/boring_test.go

    						}
    						if reachableFIPS[c.org] && c.fipsOK {
    							shouldVerifyFIPS = true
    						}
    					}
    				}
    				addRoot(r&1, R1)
    				addRoot(r&2, R2)
    				rootName = rootName[1:] // strip leading comma
    				testServerCert(t, listName+"->"+rootName[1:], pool, leaf.key, list, shouldVerify)
    				testClientCert(t, listName+"->"+rootName[1:]+"(client cert)", pool, leaf.key, list, shouldVerify)
    				fipstls.Force()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. src/debug/buildinfo/buildinfo.go

    		mod = readString(x, ptrSize, readPtr, readPtr(data[16+ptrSize:]))
    	}
    	if vers == "" {
    		return "", "", errNotGoExe
    	}
    	if len(mod) >= 33 && mod[len(mod)-17] == '\n' {
    		// Strip module framing: sentinel strings delimiting the module info.
    		// These are cmd/go/internal/modload.infoStart and infoEnd.
    		mod = mod[16 : len(mod)-16]
    	} else {
    		mod = ""
    	}
    
    	return vers, mod, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modcmd/vendor.go

    		return false
    	}
    	if info.Name() == "go.mod" || info.Name() == "go.sum" {
    		if gv := modload.MainModules.GoVersion(); gover.Compare(gv, "1.17") >= 0 {
    			// As of Go 1.17, we strip go.mod and go.sum files from dependency modules.
    			// Otherwise, 'go' commands invoked within the vendor subtree may misidentify
    			// an arbitrary directory within the vendor tree as a module root.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go

    // computeDiscoverCacheDir takes the parentDir and the host and comes up with a "usually non-colliding" name.
    func computeDiscoverCacheDir(parentDir, host string) string {
    	// strip the optional scheme from host if its there:
    	schemelessHost := strings.Replace(strings.Replace(host, "https://", "", 1), "http://", "", 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. src/log/slog/value.go

    	if v.Equal(t) {
    		// UnixNano correctly represents the time, so use a zero-alloc representation.
    		return Value{num: uint64(nsec), any: timeLocation(v.Location())}
    	}
    	// Fall back to the general form.
    	// Strip the monotonic portion to match the other representation.
    	return Value{any: timeTime(v.Round(0))}
    }
    
    // DurationValue returns a [Value] for a [time.Duration].
    func DurationValue(v time.Duration) Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

        TF_ASSIGN_OR_RETURN(elem_type,
                            GetQuantizedType(tensor, builder, is_constant));
      } else if (IsQuantized(tensor) && get_storage) {
        // If the type is quantized we strip the signedness from the storage type.
        elem_type = mlir::IntegerType::get(elem_type.getContext(),
                                           elem_type.getIntOrFloatBitWidth());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

            GroupedOutputFixture groupedOutput = new GroupedOutputFixture(LogContent.of(consoleOutput))
    
            then:
            groupedOutput.task(':buildSrc:helloWorld').output == 'Hello world'
        }
    
        def "strip output removes all ANSI control sequences and work-in-progress area"() {
            def consoleOutput = """
    \u001B[1m> Task :buildSrc:helloWorld\u001B[m
    Hello world
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. src/net/http/cookie.go

    // parsing was successful, and a boolean indicating whether the parsed
    // value was enclosed in double quotes.
    func parseCookieValue(raw string, allowDoubleQuote bool) (value string, quoted, ok bool) {
    	// Strip the quotes, if present.
    	if allowDoubleQuote && len(raw) > 1 && raw[0] == '"' && raw[len(raw)-1] == '"' {
    		raw = raw[1 : len(raw)-1]
    		quoted = true
    	}
    	for i := 0; i < len(raw); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top