Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 965 for type3 (0.03 sec)

  1. tests/customize_field_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestCustomizeColumn(t *testing.T) {
    	type CustomizeColumn struct {
    		ID   int64      `gorm:"column:mapped_id; primary_key:yes"`
    		Name string     `gorm:"column:mapped_name"`
    		Date *time.Time `gorm:"column:mapped_time"`
    	}
    
    	DB.Migrator().DropTable(&CustomizeColumn{})
    	DB.AutoMigrate(&CustomizeColumn{})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  2. cmd/last-minute.go

    	case sizeLessThan1GiB:
    		return "LESS_THAN_1_GiB"
    	case sizeGreaterThan1GiB:
    		return "GREATER_THAN_1_GiB"
    	default:
    		return "unknown"
    	}
    }
    
    // AccElem holds information for calculating an average value
    type AccElem struct {
    	Total int64
    	Size  int64
    	N     int64
    }
    
    // Add a duration to a single element.
    func (a *AccElem) add(dur time.Duration) {
    	if dur < 0 {
    		dur = 0
    	}
    	a.Total += int64(dur)
    	a.N++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    private fun isSpecialHeader(s: String): Boolean {
      return s.equals("Content-Type", ignoreCase = true)
    }
    
    fun Main.commonRun() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.3.md

    ## Changes since v1.3.0-alpha.2
    
    ### Action Required
    
    * Updating go-restful to generate "type":"object" instead of "type":"any" in swagger-spec (breaks kubectl 1.1) ([#22897](https://github.com/kubernetes/kubernetes/pull/22897), [@nikhiljindal](https://github.com/nikhiljindal))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig_edit.jsp

                                        <div class="form-inline col-sm-9">
                                            <la:errors property="depth"/>
                                            <input type="number" name="depth" id="depth"
                                                   value="${f:h(depth)}" class="form-control"
                                                   min="0" max="10000">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 15.3K bytes
    - Viewed (0)
  6. internal/grid/manager.go

    	}
    	writeErr(remote.handleIncoming(ctx, conn, cReq))
    }
    
    // AuthFn should provide an authentication string for the given aud.
    type AuthFn func() string
    
    // ValidateAuthFn should check authentication for the given aud.
    type ValidateAuthFn func(auth string) string
    
    // Connection will return the connection for the specified host.
    // If the host does not exist nil will be returned.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. internal/s3select/jstream/decoder.go

    	"sync/atomic"
    	"unicode/utf16"
    )
    
    // ValueType - defines the type of each JSON value
    type ValueType int
    
    // Different types of JSON value
    const (
    	Unknown ValueType = iota
    	Null
    	String
    	Number
    	Boolean
    	Array
    	Object
    )
    
    // MetaValue wraps a decoded interface value with the document
    // position and depth at which the value was parsed
    type MetaValue struct {
    	Offset    int
    	Length    int
    	Depth     int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
                assertTrue(item.containsKey("type"));
                if (getDictType().equals(item.get("type"))) {
                    dictId = item.get("id");
                    return;
                }
            }
    
            fail();
        }
    
        @Override
        protected String getJsonPath() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. internal/config/bool-flag.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    import (
    	"encoding/json"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    // BoolFlag - wrapper bool type.
    type BoolFlag bool
    
    // String - returns string of BoolFlag.
    func (bf BoolFlag) String() string {
    	if bf {
    		return "on"
    	}
    
    	return "off"
    }
    
    // MarshalJSON - converts BoolFlag into JSON data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 07 15:10:40 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/rpc.java

                }
            }
        }
    
        public static class policy_handle extends NdrObject {
    
            public int type;
            public uuid_t uuid;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.type);
                if ( this.uuid == null )
                    throw new NdrException(NdrException.NO_NULL_REF);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top