Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 619 for dprintf (0.1 sec)

  1. clause/returning_test.go

    			}, clause.Returning{
    				[]clause.Column{{Name: "name"}, {Name: "age"}},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`,`name`,`age`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 845 bytes
    - Viewed (0)
  2. clause/from_test.go

    					},
    				},
    			},
    			"SELECT * FROM `users` INNER JOIN `articles` ON `articles`.`id` = `users`.`id` LEFT JOIN `companies` USING (`company_name`)", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 15 02:25:10 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  3. internal/grid/errors.go

    	ErrIncorrectSequence = errors.New("out-of-sequence item received")
    )
    
    // ErrResponse is a remote error response.
    type ErrResponse struct {
    	msg string
    }
    
    func (e ErrResponse) Error() string {
    	return fmt.Sprintf("remote: %s", e.msg)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    		avgName := MetricName(fmt.Sprintf("%s_avg", name))
    		avgHelp := fmt.Sprintf("%s (avg)", help)
    		metrics = append(metrics, MetricV2{
    			Description:    getResourceMetricDescription(subSys, avgName, avgHelp),
    			Value:          math.Round(rm.Avg*100) / 100,
    			VariableLabels: cloneMSS(rm.Labels),
    		})
    
    		maxName := MetricName(fmt.Sprintf("%s_max", name))
    		maxHelp := fmt.Sprintf("%s (max)", help)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/archive/zip/example_test.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	defer r.Close()
    
    	// Iterate through the files in the archive,
    	// printing some of their contents.
    	for _, f := range r.File {
    		fmt.Printf("Contents of %s:\n", f.Name)
    		rc, err := f.Open()
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = io.CopyN(os.Stdout, rc, 68)
    		if err != nil {
    			log.Fatal(err)
    		}
    		rc.Close()
    		fmt.Println()
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  6. schema/schema.go

    	namer                     Namer
    	cacheStore                *sync.Map
    }
    
    func (schema Schema) String() string {
    	if schema.ModelType.Name() == "" {
    		return fmt.Sprintf("%s(%s)", schema.Name, schema.Table)
    	}
    	return fmt.Sprintf("%s.%s", schema.ModelType.PkgPath(), schema.ModelType.Name())
    }
    
    func (schema Schema) MakeSlice() reflect.Value {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

                writer.print("    - [");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = ModelProblemUtils.formatLocation(problem, modelId);
                if (!location.isEmpty()) {
                    writer.print(" @ ");
                    writer.print(location);
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/select/select.py

        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
            statsDetails = event['Stats']['Details']
            print("Stats details bytesScanned: ")
            print(statsDetails['BytesScanned'])
            print("Stats details bytesProcessed: ")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 18 00:11:39 UTC 2018
    - 1K bytes
    - Viewed (0)
  9. internal/http/response-recorder.go

    // Write the headers into the given buffer
    func (lrw *ResponseRecorder) writeHeaders(w io.Writer, statusCode int, headers http.Header) {
    	n, _ := fmt.Fprintf(w, "%d %s\n", statusCode, http.StatusText(statusCode))
    	lrw.headerBytesWritten += n
    	for k, v := range headers {
    		n, _ := fmt.Fprintf(w, "%s: %s\n", k, v[0])
    		lrw.headerBytesWritten += n
    	}
    }
    
    // blobBody returns a dummy body placeholder for blob (binary stream)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          String originalName = currentThread.getName();
          currentThread.setName("Crawler " + url);
          try {
            fetch(url);
          } catch (IOException e) {
            System.out.printf("XXX: %s %s%n", url, e);
          } finally {
            currentThread.setName(originalName);
          }
        }
      }
    
      public void fetch(HttpUrl url) throws IOException {
        // Skip hosts that we've visited many times.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
Back to top