Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 766 for glog (0.04 sec)

  1. tests/test_tutorial/test_background_tasks/test_tutorial002_an.py

    client = TestClient(app)
    
    
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
        with open("./log.txt") as f:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 571 bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Strings.java

                len += 2;
                if ( len > maxLen ) {
                    if ( log.isDebugEnabled() ) {
                        log.warn("Failed to find string termination with max length " + maxLen);
                        log.debug(Hexdump.toHexString(buffer, bufferIndex, len));
                    }
                    throw new RuntimeCIFSException("zero termination not found");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. docs/bucket/replication/test_del_marker_proxying.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	for site in sitea siteb; do
    		echo "$site server logs ========="
    		cat "/tmp/${site}_1.log"
    		echo "==========================="
    		cat "/tmp/${site}_2.log"
    	done
    
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/sitea
    	rm -rf /tmp/siteb
    	echo "done"
    }
    
    cleanup
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/archive/tar/example_test.go

    			Name: file.Name,
    			Mode: 0600,
    			Size: int64(len(file.Body)),
    		}
    		if err := tw.WriteHeader(hdr); err != nil {
    			log.Fatal(err)
    		}
    		if _, err := tw.Write([]byte(file.Body)); err != nil {
    			log.Fatal(err)
    		}
    	}
    	if err := tw.Close(); err != nil {
    		log.Fatal(err)
    	}
    
    	// Open and iterate through the files in the archive.
    	tr := tar.NewReader(&buf)
    	for {
    		hdr, err := tr.Next()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  5. docs/sts/web-identity.go

    		if err != nil {
    			log.Println(fmt.Errorf("Could not get STS credentials: %s", err))
    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    
    		opts := &minio.Options{
    			Creds:        sts,
    			BucketLookup: minio.BucketLookupAuto,
    		}
    
    		u, err := url.Parse(stsEndpoint)
    		if err != nil {
    			log.Println(fmt.Errorf("Failed to parse STS Endpoint: %s", err))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. docs/erasure/storage-class/README.md

    ```go
    s3Client, err := minio.New("localhost:9000", "YOUR-ACCESSKEYID", "YOUR-SECRETACCESSKEY", true)
    if err != nil {
     log.Fatalln(err)
    }
    
    object, err := os.Open("my-testfile")
    if err != nil {
     log.Fatalln(err)
    }
    defer object.Close()
    objectStat, err := object.Stat()
    if err != nil {
     log.Fatalln(err)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    		err = nil
    		go func(t *testing.T) {
    			for resp := range st.responses {
    				t.Log("got resp:", string(resp.Msg), "err:", resp.Err)
    				if err != nil {
    					t.Log("ERROR: got second error:", resp.Err, "first:", err)
    					continue
    				}
    				err = resp.Err
    			}
    			t.Log("Client Context canceled. err state:", err)
    			clientCanceled <- time.Now()
    		}(t)
    		start := time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/bsentity/BsUserInfo.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.log.bsentity;
    
    import java.time.LocalDateTime;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.es.log.allcommon.EsAbstractEntity;
    import org.codelibs.fess.es.log.bsentity.dbmeta.UserInfoDbm;
    
    /**
     * ${table.comment}
     * @author ESFlute (using FreeGen)
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            this.setupCount = buffer[ bufferIndex ] & 0xFF;
            bufferIndex += 2;
            if ( this.setupCount != 0 ) {
                if ( log.isDebugEnabled() )
                    log.debug("setupCount is not zero: " + this.setupCount);
            }
    
            return bufferIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  10. misc/chrome/gophertool/popup.js

            openURL(this.getAttribute("url"));
          });
      }
    }
    
    window.addEventListener("load", function () {
      addLinks();
      console.log("hacking gopher pop-up loaded.");
      document.getElementById("inputbox").focus();
    });
    
    window.addEventListener("submit", function () {
      console.log("submitting form");
      var box = document.getElementById("inputbox");
      box.focus();
    
      var t = box.value;
      if (t == "") {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Oct 21 17:05:21 UTC 2012
    - 1020 bytes
    - Viewed (0)
Back to top