Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 701 for refs (0.02 seconds)

  1. cmd/kms-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if res, err := json.Marshal(metrics); err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    	} else {
    		writeSuccessResponseJSON(w, res)
    	}
    }
    
    // KMSAPIsHandler - GET /minio/kms/v1/apis
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 10.1K bytes
    - Click Count (0)
  2. cmd/utils_test.go

    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}
    	res := jsonResult{}
    	if err = json.Unmarshal([]byte(strings.ReplaceAll(jsonReq, "%%", "%")), &res); err != nil {
    		t.Fatal(err)
    	}
    
    	// Look for expected method.
    	if res.Method != http.MethodGet {
    		t.Fatalf("Unexpected method %s, expected 'GET'", res.Method)
    	}
    
    	// Look for expected query values
    	expectedQuery := url.Values{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_body_nested_models/test_tutorial007.py

                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
                                        }
                                    }
                                },
                            },
                        },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. internal/s3select/sql/stringfuncs.go

    func matcher(text, pat string, leadingPercent bool) (res string, match bool) {
    	if !leadingPercent {
    		res = strings.TrimPrefix(text, pat)
    		if len(text) == len(res) {
    			return "", false
    		}
    	} else {
    		parts := strings.SplitN(text, pat, 2)
    		if len(parts) == 1 {
    			return "", false
    		}
    		res = parts[1]
    	}
    	return res, true
    }
    
    func dropRune(text string) (res string, ok bool) {
    	r := []rune(text)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                            }
                        ],
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/Invoice"}
                                }
                            },
                            "required": True,
                        },
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. tests/test_additional_responses_custom_model_in_callback.py

                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "$ref": "#/components/schemas/HTTPValidationError"
                                            }
                                        }
                                    },
                                },
                            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_03.py

                        "requestBody": {
                            "content": {
                                "multipart/form-data": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Body_create_file_files__post"
                                    }
                                }
                            },
                            "required": True,
                        },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_response_model/test_tutorial005.py

                                    "description": "Successful Response",
                                    "content": {
                                        "application/json": {
                                            "schema": {"$ref": "#/components/schemas/Item"}
                                        }
                                    },
                                },
                                "422": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_response_model/test_tutorial006.py

                                    "description": "Successful Response",
                                    "content": {
                                        "application/json": {
                                            "schema": {"$ref": "#/components/schemas/Item"}
                                        }
                                    },
                                },
                                "422": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. internal/lsync/lrwmutex.go

    	lm.mu.Lock()
    	defer lm.mu.Unlock()
    
    	// Try to release lock.
    	if isWriteLock {
    		if lm.isWriteLock && lm.ref == 1 {
    			lm.ref = 0
    			lm.isWriteLock = false
    			unlocked = true
    		}
    	} else {
    		if !lm.isWriteLock {
    			if lm.ref > 0 {
    				lm.ref--
    				unlocked = true
    			}
    		}
    	}
    
    	return unlocked
    }
    
    // ForceUnlock will forcefully clear a write or read lock.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Click Count (0)
Back to Top