Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 257 of 257 for Println (0.05 sec)

  1. docs/bucket/notifications/README.md

    import (
     "log"
     "runtime"
    
     "github.com/nats-io/nats.go"
    )
    
    func main() {
    
     // Create server connection
     natsConnection, _ := nats.Connect("nats://yourusername:yoursecret@localhost:4222")
     log.Println("Connected")
    
     // Subscribe to subject
     log.Printf("Subscribing to subject 'bucketevents'\n")
     natsConnection.Subscribe("bucketevents", func(msg *nats.Msg) {
    
      // Handle the message
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  2. cmd/server_test.go

    		req.Header.Set(k, v[0])
    	}
    
    	// execute the request.
    	response, err = s.client.Do(req)
    	c.Assert(err, nil)
    
    	// out, err = httputil.DumpResponse(response, true)
    	// fmt.Println("RESPONSE ===\n", string(out), err)
    
    	// assert the http response status code.
    	c.Assert(response.StatusCode, http.StatusBadRequest)
    }
    
    func (s *TestSuiteCommon) TestBucketSQSNotificationAMQP(c *check) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/input.go

    }
    
    var panicOnError bool // For testing.
    
    func (in *Input) Error(args ...interface{}) {
    	if panicOnError {
    		panic(fmt.Errorf("%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...)))
    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. cmd/update_test.go

    	defer httpServer1.Close()
    	httpServer2 := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		fmt.Fprintln(w, "fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z")
    	}))
    	defer httpServer2.Close()
    	httpServer3 := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg fmt, func Printf(string, ...interface{}) (int, error)
    pkg fmt, func Println(...interface{}) (int, error)
    pkg fmt, func Scan(...interface{}) (int, error)
    pkg fmt, func Scanf(string, ...interface{}) (int, error)
    pkg fmt, func Scanln(...interface{}) (int, error)
    pkg fmt, func Sprint(...interface{}) string
    pkg fmt, func Sprintf(string, ...interface{}) string
    pkg fmt, func Sprintln(...interface{}) string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. lib/fips140/v1.0.0.zip

    self-test name: " + name) } if !Enabled { return } err := f() if name == failfipscast { err = errors.New("simulated CAST failure") } if err != nil { fatal("FIPS 140-3 self-test failed: " + name + ": " + err.Error()) panic("unreachable") } if debug { println("FIPS 140-3 self-test passed:", name) } } // PCT runs the named Pairwise Consistency Test (if operated in FIPS mode) and // returns any errors. If an error is returned, the key must not be used. // // PCTs are mandatory for every key pair that is...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top