Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,008 for log2 (0.03 sec)

  1. docs_src/background_tasks/tutorial001.py

    from fastapi import BackgroundTasks, FastAPI
    
    app = FastAPI()
    
    
    def write_notification(email: str, message=""):
        with open("log.txt", mode="w") as email_file:
            content = f"notification for {email}: {message}"
            email_file.write(content)
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(email: str, background_tasks: BackgroundTasks):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 519 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closer.java

               * we catch everything. (Any Exception is either a RuntimeException or
               * sneaky checked exception.) With no better options, we log anything to the same
               * place as Closeables logs.
               */
              Closeables.logger.log(
                  Level.WARNING, "Suppressing exception thrown when closing " + closeable, suppressed);
            }
          };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/first-steps.md

    Vamos chamá-los de "**operações**" também.
    
    #### Defina um *decorador de rota*
    
    ```Python hl_lines="6"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    O `@app.get("/")` diz ao **FastAPI** que a função logo abaixo é responsável por tratar as requisições que vão para:
    
    * a rota `/`
    * usando o  <abbr title="o método HTTP GET">operador <code>get</code></abbr>
    
    /// info | "`@decorador`"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

                    }
                }
            }
        }
    }
    
    
    /**
     * Clean up daemon log files produced in integration tests.
     */
    fun FileSystemOperations.removeDaemonLogFiles(dir: Directory) {
        if (dir.asFile.isDirectory) {
            val daemonLogFiles = dir.asFileTree.matching {
                include("**/*.log")
            }
            delete { delete(daemonLogFiles) }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. cmd/batch-expire_gen_test.go

    			b.Fatal(err)
    		}
    	}
    }
    
    func TestEncodeDecodeBatchJobExpire(t *testing.T) {
    	v := BatchJobExpire{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBatchJobExpire Msgsize() is inaccurate")
    	}
    
    	vn := BatchJobExpire{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. cmd/last-minute_gen_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestEncodeDecodeAccElem(t *testing.T) {
    	v := AccElem{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeAccElem Msgsize() is inaccurate")
    	}
    
    	vn := AccElem{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/sds/util.go

    	envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	"istio.io/istio/pkg/log"
    )
    
    // SecretItemDiff represents a secret that has been diffed between nodeagent and proxy
    type SecretItemDiff struct {
    	Agent string `json:"agent"`
    	Proxy string `json:"proxy"`
    	SecretItem
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/packaging/common/env/fess

    ################################
    # Fess
    ################################
    
    # Fess Path
    FESS_TEMP_PATH=${packaging.fess.temp.dir}
    FESS_LOG_PATH=${packaging.fess.log.dir}
    FESS_CONF_PATH=${packaging.fess.conf.dir}
    FESS_VAR_PATH=${packaging.fess.var.dir}
    
    FESS_DICTIONARY_PATH=/var/lib/opensearch/config/
    
    # Port
    FESS_PORT=8080
    
    # Heap Memory
    FESS_HEAP_SIZE=512m
    
    # Elasticsearch Path
    SEARCH_ENGINE_HOME=/usr/share/opensearch/
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 489 bytes
    - Viewed (0)
  9. go.mod

    	github.com/fatih/color v1.18.0
    	github.com/felixge/fgprof v0.9.5
    	github.com/florianl/go-nflog/v2 v2.1.0
    	github.com/fsnotify/fsnotify v1.7.0
    	github.com/go-jose/go-jose/v3 v3.0.3
    	github.com/go-logr/logr v1.4.2
    	github.com/gogo/protobuf v1.3.2
    	github.com/golang/protobuf v1.5.4
    	github.com/google/cel-go v0.21.0
    	github.com/google/go-cmp v0.6.0
    	github.com/google/go-containerregistry v0.20.2
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. .gitignore

    .classpath
    .project
    .settings
    .gradle
    eclipsebin
    
    bin
    gen
    build
    out
    lib
    generated
    
    target
    pom.xml.*
    release.properties
    local.properties
    
    .idea
    *.iml
    *.ipr
    *.iws
    *.log
    classes
    
    obj
    
    .DS_Store
    
    # Special Mkdocs files
    docs/4.x
    docs/changelog.md
    docs/contributing.md
    docs/index.md
    
    # jenv
    /.java-version
    /site/
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 10 11:52:12 UTC 2022
    - 337 bytes
    - Viewed (0)
Back to top