Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Difference (0.2 sec)

  1. operator/cmd/mesh/profile-diff.go

    		return false, fmt.Errorf("could not read %q: %v", profileB, err)
    	}
    
    	diff := util.YAMLDiff(a, b)
    	if diff == "" {
    		fmt.Fprintln(writer, "Profiles are identical")
    	} else {
    		fmt.Fprintf(writer, "The difference between profiles:\n%s", diff)
    		return true, nil
    	}
    
    	return false, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.cc

        AbstractTensorHandlePtr fMinus(f_outputs[0]);
    
        // Take Difference of both estimates: (f(theta + eps) - f(theta - eps)).
        TF_RETURN_IF_ERROR(
            ops::Sub(ctx, fPlus.get(), fMinus.get(), f_outputs, "sub_top"));
        AbstractTensorHandlePtr fDiff(f_outputs[0]);
    
        // Calculate using the difference quotient definition:
        // (f(theta + eps) - f(theta - eps)) / (2 * eps).
        TF_RETURN_IF_ERROR(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. cmd/update-notifier.go

    // newer version is available.
    func prepareUpdateMessage(downloadURL string, older time.Duration) string {
    	if downloadURL == "" || older <= 0 {
    		return ""
    	}
    
    	// Compute friendly duration string to indicate time
    	// difference between newer and current release.
    	t := time.Time{}
    	newerThan := humanize.RelTime(t, t.Add(older), "before the latest release", "")
    
    	if globalServerCtxt.JSON {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

                against THE LATEST VERSION WHICH IS RELEASED FROM RELEASE BRANCH (from `released-version.json` on this branch)
                AND LOWER THAN CURRENT BASE VERSION (from `version.txt` on this branch).
                The difference must identically match <a href="${apiChangesJsonFile.asFile.path}">accepted-public-api-changes.json</a>, no more, no less - otherwise the task will fail.
                </p>
                ${writeFilterPreset(project)}
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. cmd/bootstrap-peer-server.go

    // ServerSystemConfig - captures information about server configuration.
    type ServerSystemConfig struct {
    	NEndpoints int
    	CmdLines   []string
    	MinioEnv   map[string]string
    }
    
    // Diff - returns error on first difference found in two configs.
    func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error {
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/handling-errors.md

    #### FastAPI's `HTTPException` vs Starlette's `HTTPException`
    
    **FastAPI** has its own `HTTPException`.
    
    And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class.
    
    The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it.
    
    So, you can keep raising **FastAPI**'s `HTTPException` as normally in your code.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-diff.go

    	diff, err := compare.ManifestDiffWithRenameSelectIgnore(string(a), string(b), renameResources, selectResources,
    		ignoreResources, verbose)
    	if err != nil {
    		return false, err
    	}
    	if diff != "" {
    		fmt.Printf("Differences in manifests are:\n%s\n", diff)
    		return false, nil
    	}
    
    	fmt.Println("Manifests are identical")
    	return true, nil
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Ext(path) == YAMLSuffix
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSamConstructorSymbol.kt

    import org.jetbrains.kotlin.analysis.api.types.KtType
    import org.jetbrains.kotlin.name.CallableId
    import org.jetbrains.kotlin.name.Name
    import org.jetbrains.kotlin.resolve.calls.inference.returnTypeOrNothing
    import org.jetbrains.kotlin.resolve.descriptorUtil.isExtension
    import org.jetbrains.kotlin.resolve.sam.SamConstructorDescriptor
    import org.jetbrains.kotlin.resolve.sam.SamTypeAliasConstructorDescriptor
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescAnonymousFunctionSymbol.kt

    import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
    import org.jetbrains.kotlin.analysis.api.types.KtType
    import org.jetbrains.kotlin.descriptors.FunctionDescriptor
    import org.jetbrains.kotlin.resolve.calls.inference.returnTypeOrNothing
    import org.jetbrains.kotlin.resolve.descriptorUtil.isExtension
    
    internal class KtFe10DescAnonymousFunctionSymbol(
        override val descriptor: FunctionDescriptor,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescPropertyGetterSymbol.kt

    import org.jetbrains.kotlin.descriptors.PropertyGetterDescriptor
    import org.jetbrains.kotlin.descriptors.hasBody
    import org.jetbrains.kotlin.name.CallableId
    import org.jetbrains.kotlin.resolve.calls.inference.returnTypeOrNothing
    
    internal class KtFe10DescPropertyGetterSymbol(
        override val descriptor: PropertyGetterDescriptor,
        override val analysisContext: Fe10AnalysisContext
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top