Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 773 for wantSz (0.08 sec)

  1. utils/utils_test.go

    		{"FALSE", false},
    		{"\u0046alse", false},
    	}
    
    	for _, test := range checkTruthTests {
    		t.Run(test.v, func(t *testing.T) {
    			if out := CheckTruth(test.v); out != test.out {
    				t.Errorf("CheckTruth(%s) want: %t, got: %t", test.v, test.out, out)
    			}
    		})
    	}
    }
    
    func TestToStringKey(t *testing.T) {
    	cases := []struct {
    		values []interface{}
    		key    string
    	}{
    		{[]interface{}{"a"}, "a"},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/openapi-webhooks.md

    # OpenAPI Webhooks
    
    There are cases where you want to tell your API **users** that your app could call *their* app (sending a request) with some data, normally to **notify** of some type of **event**.
    
    This means that instead of the normal process of your users sending requests to your API, it's **your API** (or your app) that could **send requests to their system** (to their API, their app).
    
    This is normally called a **webhook**.
    
    ## Webhooks steps
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:38:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/projects/CheckProject.kt

                description = "The extra gradle parameters you want to pass to this build, e.g. `-PrerunAllTests` or `--no-build-cache`"
            )
            text(
                "reverse.dep.*.additional.gradle.parameters",
                "",
                display = ParameterDisplay.NORMAL,
                allowEmpty = true,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 22 07:02:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    				VersionID:   "",
    				IsLatest:    true,
    				NumVersions: 1,
    			},
    			want: 0,
    			lc:   lc,
    		},
    	}
    	for i, tc := range tests {
    		t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) {
    			if got := tc.lc.FilterRules(tc.opts); len(got) != tc.want {
    				t.Fatalf("Expected %d rules to match but got %d", tc.want, len(got))
    			}
    			w := httptest.NewRecorder()
    			tc.lc.SetPredictionHeaders(w, tc.opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. cmd/object-handlers-common_test.go

    			if tc.expectedFlag != actualFlag {
    				t.Errorf("test: %s, got flag: %v, want: %v", tc.name, actualFlag, tc.expectedFlag)
    			}
    			if tc.expectedCode != recorder.Code {
    				t.Errorf("test: %s, got code: %d, want: %d", tc.name, recorder.Code, tc.expectedCode)
    			}
    		})
    	}
    	testCases = []struct {
    		name              string
    		ifMatch           string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. deploy_website.sh

    # Move working directory into temp folder
    cd $DIR
    
    # Generate the API docs
    ./gradlew dokkaHtmlMultiModule
    
    mv ./build/dokka/htmlMultiModule docs/5.x
    
    # Copy in special files that GitHub wants in the project root.
    cat README.md | grep -v 'project website' > docs/index.md
    cp CHANGELOG.md docs/changelogs/changelog.md
    cp CONTRIBUTING.md docs/contribute/contributing.md
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 20 15:26:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. helm/minio/README.md

    ```bash
    helm get values my-release > old_values.yaml
    ```
    
    Then change the field `image.tag` in `old_values.yaml` file with MinIO image tag you want to use. Now update the chart using
    
    ```bash
    helm upgrade -f old_values.yaml my-release minio/minio
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-change-status-code.md

    But in some cases you need to return a different status code than the default.
    
    ## Use case
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`.
    
    But you still want to be able to filter and convert the data you return with a `response_model`.
    
    For those cases, you can use a `Response` parameter.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    						test.input[i], test.input[j] = test.input[j], test.input[i]
    					})
    					got := mergeXLV2Versions(test.quorum, true, 0, test.input...)
    					if !reflect.DeepEqual(test.want, got) {
    						t.Errorf("want %v != got %v", test.want, got)
    					}
    				})
    			}
    		})
    	}
    }
    
    func Test_mergeEntryChannels(t *testing.T) {
    	dataZ, err := os.ReadFile("testdata/xl-meta-merge.zip")
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    				return oi, InvalidPart{
    					PartNumber: part.PartNumber,
    				}
    			}
    			wantCS := map[string]string{
    				hash.ChecksumCRC32.String():  part.ChecksumCRC32,
    				hash.ChecksumCRC32C.String(): part.ChecksumCRC32C,
    				hash.ChecksumSHA1.String():   part.ChecksumSHA1,
    				hash.ChecksumSHA256.String(): part.ChecksumSHA256,
    			}
    			if wantCS[checksumType.String()] != crc {
    				return oi, InvalidPart{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top