Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2141 - 2150 of 3,763 for int (0.03 sec)

  1. internal/s3select/sql/value.go

    func FromArray(a []Value) *Value {
    	return &Value{value: a}
    }
    
    // ToFloat works for int and float values
    func (v Value) ToFloat() (val float64, ok bool) {
    	switch x := v.value.(type) {
    	case float64:
    		return x, true
    	case int64:
    		return float64(x), true
    	}
    	return 0, false
    }
    
    // ToInt returns the value if int.
    func (v Value) ToInt() (val int64, ok bool) {
    	val, ok = v.value.(int64)
    	return
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/joblog/EditForm.java

    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * @author codelibs
     * @author Shunji Makino
     */
    public class EditForm {
    
        @ValidateTypeFailure
        public int crudMode;
    
        @Required
        @ValidateTypeFailure
        public String id;
    
        @Required
        public String jobName;
    
        @Required
        public String jobStatus;
    
        @Required
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * @author shinsuke
     * @author Shunji Makino
     */
    public class EditForm {
    
        @ValidateTypeFailure
        public int crudMode;
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Required
        @Size(max = 20)
        public String sessionId;
    
        @Size(max = 20)
        public String name;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2.flowcontrol
    
    class WindowCounter(
      val streamId: Int,
    ) {
      /** The total number of bytes consumed. */
      var total: Long = 0L
        private set
    
      /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */
      var acknowledged: Long = 0L
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/PackageSanityTests.java

     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(BaseEncoding.class, BaseEncoding.base64());
        setDefault(int.class, 32);
        setDefault(String.class, "abcd");
        setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]);
        setDefault(MapMode.class, MapMode.READ_ONLY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacCredentialType.java

    package jcifs.pac;
    
    
    /**
     * Structure representing the PAC_CREDENTIAL_TYPE record
     * 
     * @author jbbugeau
     */
    @SuppressWarnings ( "javadoc" )
    public class PacCredentialType {
    
        private static final int MINIMAL_BUFFER_SIZE = 32;
    
        private byte[] credentialType;
    
    
        public PacCredentialType ( byte[] data ) throws PACDecodingException {
            this.credentialType = data;
            if ( !isCredentialTypeCorrect() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java

    package jcifs.dcerpc.msrpc;
    
    
    import jcifs.dcerpc.rpc;
    
    
    @SuppressWarnings ( "javadoc" )
    public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain {
    
        public MsrpcSamrOpenDomain ( SamrPolicyHandle handle, int access, rpc.sid_t sid, SamrDomainHandle domainHandle ) {
            super(handle, access, sid, domainHandle);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  8. tests/test_response_model_data_filter.py

        owner: UserBase
    
    
    @app.post("/users/", response_model=UserBase)
    async def create_user(user: UserCreate):
        return user
    
    
    @app.get("/pets/{pet_id}", response_model=PetOut)
    async def read_pet(pet_id: int):
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet = PetDB(name="Nibbler", owner=user)
        return pet
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. internal/s3select/jstream/errors.go

    var (
    	ErrSyntax        = DecoderError{msg: "invalid character"}
    	ErrUnexpectedEOF = DecoderError{msg: "unexpected end of JSON input"}
    	ErrMaxDepth      = DecoderError{msg: "maximum recursion depth exceeded"}
    )
    
    type errPos [2]int // line number, byte offset where error occurred
    
    // DecoderError contains a detailed decoding error.
    type DecoderError struct {
    	msg       string // description of error
    	context   string // additional error context
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiKatakanaStemmerFactory.java

    import org.opensearch.index.IndexSettings;
    import org.opensearch.index.analysis.AbstractTokenFilterFactory;
    
    public class KuromojiKatakanaStemmerFactory extends AbstractTokenFilterFactory {
    
        private final int minimumLength;
    
        public KuromojiKatakanaStemmerFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
            super(indexSettings, name, settings);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top