Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 734 for f$ (0.09 sec)

  1. fastapi/_compat.py

            return error  # type: ignore[return-value]
    
        def create_body_model(
            *, fields: Sequence[ModelField], model_name: str
        ) -> Type[BaseModel]:
            field_params = {f.name: (f.field_info.annotation, f.field_info) for f in fields}
            BodyModel: Type[BaseModel] = create_model(model_name, **field_params)  # type: ignore[call-overload]
            return BodyModel
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial005_py310.py

        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"item_id": "Foo", "owner": "johndoe"}]
    
    
    @needs_py310
    def test_read_system_status(client: TestClient):
        access_token = get_access_token(client=client)
        response = client.get(
            "/status/", headers={"Authorization": f"Bearer {access_token}"}
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial005_py39.py

            "/users/me", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Inactive user"}
    
    
    @needs_py39
    def test_read_items(client: TestClient):
        access_token = get_access_token(scope="me items", client=client)
        response = client.get(
            "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"}
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. cmd/dummy-data-generator_test.go

    // to compare such streams of bytes that may be split up, because:
    //
    // Given the function:
    //
    //	f := func(r io.Reader) string {
    //	          b, _ := io.ReadAll(r)
    //	          return string(b)
    //	}
    //
    // for example, the following is true:
    //
    // f(NewDummyDataGen(100, 0)) == f(NewDummyDataGen(50, 0)) + f(NewDummyDataGen(50, 50))
    func NewDummyDataGen(totalLength, skipOffset int64) io.ReadSeeker {
    	if totalLength < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

                return false;
            }
    
            if (path == null) {
                return false;
            }
    
            File f = new File(path);
    
            if (!f.isAbsolute()) {
                return false;
            }
    
            boolean fileExists = f.exists();
    
            return missing != fileExists;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/main/webapp/js/bootstrap.min.js

    g.fn[y]=b,H._jQueryInterface};var R="carousel",x="bs.carousel",F="."+x,U=".data-api",W=g.fn[R],q={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},M={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},K="next",Q="prev",B="left",V="right",Y={SLIDE:"slide"+F,SLID:"slid"+F,KEYDOWN:"keydown"+F,MOUSEENTER:"mouseenter"+F,MOUSELEAVE:"mouseleave"+F,TOUCHSTART:"touchstart"+F,TOUCHMOVE:"touchmove"+F,TOUCHEND:"touchend"+F,POI...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                context.addFieldLog(Constants.DEFAULT_FIELD, origQuery);
                context.addHighlightedQuery(origQuery);
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.matchPhraseQuery(f, origQuery).boost(b));
            }
    
            context.addFieldLog(field, termRangeQuery.toString(field));
            final RangeQueryBuilder rangeQuery = QueryBuilders.rangeQuery(field);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractHasher.java

      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putFloat(float f) {
        return putInt(Float.floatToRawIntBits(f));
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putUnencodedChars(CharSequence charSequence) {
        for (int i = 0, len = charSequence.length(); i < len; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. gorm.go

    	}
    
    	for _, ref := range relation.References {
    		f := joinSchema.LookUpField(ref.ForeignKey.DBName)
    		if f == nil {
    			return fmt.Errorf("missing field %s for join table", ref.ForeignKey.DBName)
    		}
    
    		f.DataType = ref.ForeignKey.DataType
    		f.GORMDataType = ref.ForeignKey.GORMDataType
    		if f.Size == 0 {
    			f.Size = ref.ForeignKey.Size
    		}
    		ref.ForeignKey = f
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. internal/s3select/sql/funceval.go

    		return float64(x), nil
    	case string:
    		f, err := strconv.ParseFloat(strings.TrimSpace(x), 64)
    		if err != nil {
    			return 0, errCastFailure("could not parse as float")
    		}
    		return f, nil
    	case []byte:
    		f, err := strconv.ParseFloat(strings.TrimSpace(string(x)), 64)
    		if err != nil {
    			return 0, errCastFailure("could not parse as float")
    		}
    		return f, nil
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
Back to top