Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 927 for selected (0.07 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

       */
      @Throws(IOException::class)
      fun processNextEvent(): Boolean {
        var id = lastId
        var type: String? = null
        val data = Buffer()
    
        while (true) {
          when (source.select(options)) {
            in 0..2 -> {
              completeEvent(id, type, data)
              return true
            }
    
            in 3..4 -> {
              source.readData(data)
            }
    
            in 5..7 -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tests/named_argument_test.go

    	var result5 NamedUser
    	if err := DB.Raw("SELECT * FROM named_users WHERE (name1 = @name AND name3 = @name) AND name2 = @name2", map[string]interface{}{"name": "jinzhu-new", "name2": "jinzhu-new2"}).Find(&result5).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result5, namedUser)
    
    	var result6 NamedUser
    	if err := DB.Raw(`SELECT * FROM named_users WHERE (name1 = @name
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. tests/scopes_test.go

    	}
    
    	var maxId int64
    	userTable := func(db *gorm.DB) *gorm.DB {
    		return db.WithContext(context.Background()).Table("users")
    	}
    	if err := DB.Scopes(userTable).Select("max(id)").Scan(&maxId).Error; err != nil {
    		t.Errorf("select max(id)")
    	}
    }
    
    func TestComplexScopes(t *testing.T) {
    	tests := []struct {
    		name     string
    		queryFn  func(tx *gorm.DB) *gorm.DB
    		expected string
    	}{
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. internal/disk/stat_solaris.go

    		Free:   uint64(s.Frsize) * uint64(s.Bavail),
    		Files:  uint64(s.Files),
    		Ffree:  uint64(s.Ffree),
    		FSType: getFSType(s.Fstr[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. helm-releases/minio-1.0.2.tgz

    .Values.consoleService.nodePort }} {{- else }} targetPort: {{ .Values.consoleService.port }} {{- end}} {{- if .Values.consoleService.externalIPs }} externalIPs: {{- range $i , $ip := .Values.consoleService.externalIPs }} - {{ $ip }} {{- end }} {{- end }} selector: app: {{ template "minio.name" . }} release: {{ .Release.Name }} minio/templates/deployment.yaml {{- if eq .Values.mode "standalone" }} {{ $scheme := "http" }} {{- if .Values.tls.enabled }} {{ $scheme = "https" }} {{ end }} {{ $bucketRoot := or ...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 24 18:58:05 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  6. internal/mountinfo/mountinfo_linux_test.go

    		t.Fatal(err)
    	}
    	// Failure case where we detected successfully cross device mounts.
    	{
    		absPaths := []string{"/path/to/1"}
    		if err = checkCrossDevice(absPaths, mountsPath); err == nil {
    			t.Fatal("Expected to fail, but found success")
    		}
    
    		mp := []mountInfo{
    			{"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"},
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/main/webapp/js/profile.js

    $(function() {
      $('input[type="text"],select,textarea', ".login-box,section.content")
        .first()
        .focus();
      $(".form-group .has-error")
        .first()
        .next("input,select,textarea")
        .focus();
    
      $("section.content input").keypress(function(e) {
        var $submitButton;
        if (e.which === 13) {
          $submitButton = $("input#submit, button#submit");
          if ($submitButton.length > 0) {
            $submitButton[0].submit();
          }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Sep 12 06:47:49 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  8. cmd/metrics-v3-api.go

    var (
    	apiRejectedAuthTotalMD = NewCounterMD(apiRejectedAuthTotal,
    		"Total number of requests rejected for auth failure", "type")
    	apiRejectedHeaderTotalMD = NewCounterMD(apiRejectedHeaderTotal,
    		"Total number of requests rejected for invalid header", "type")
    	apiRejectedTimestampTotalMD = NewCounterMD(apiRejectedTimestampTotal,
    		"Total number of requests rejected for invalid timestamp", "type")
    	apiRejectedInvalidTotalMD = NewCounterMD(apiRejectedInvalidTotal,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

     *  </tr>
     *  <tr>
     *      <td>implementation</td>
     *      <td>none (detected)</td>
     *      <td>Yes</td>
     *      <td>The Mojo's fully-qualified class name (or script path in the case of non-Java Mojos).</td>
     *  </tr>
     *  <tr>
     *      <td>language</td>
     *      <td>none (detected)</td>
     *      <td>No. Default: <code>java</code></td>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs_src/schema_extra_example/tutorial005_py310.py

                    "value": {
                        "name": "Bar",
                        "price": "35.4",
                    },
                },
                "invalid": {
                    "summary": "Invalid data is rejected with an error",
                    "value": {
                        "name": "Baz",
                        "price": "thirty five point four",
                    },
                },
            },
        ),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top