Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 171 for Strip (1.24 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. src/net/http/client_test.go

    	testCases := []struct {
    		desc string
    		in   string
    		out  string
    	}{
    		{
    			desc: "Strip password from error message",
    			in:   "http://user:******@****.***d/",
    			out:  `Get "http://user:***@dummy.faketld/": dummy impl`,
    		},
    		{
    			desc: "Don't Strip password from domain name",
    			in:   "http://user:******@****.***d/",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/time/time.go

    // Because t.AddDate(y, m, d), t.Round(d), and t.Truncate(d) are wall time
    // computations, they always strip any monotonic clock reading from their results.
    // Because t.In, t.Local, and t.UTC are used for their effect on the interpretation
    // of the wall time, they also strip any monotonic clock reading from their results.
    // The canonical way to strip a monotonic clock reading is to use t = t.Round(0).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top