Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,504 for Schack (0.17 sec)

  1. schema/check.go

    type Check struct {
    	Name       string
    	Constraint string // length(phone) >= 10
    	*Field
    }
    
    // ParseCheckConstraints parse schema check constraints
    func (schema *Schema) ParseCheckConstraints() map[string]Check {
    	checks := map[string]Check{}
    	for _, field := range schema.FieldsByDBName {
    		if chk := field.TagSettings["CHECK"]; chk != "" {
    			names := strings.Split(chk, ",")
    Go
    - Registered: Sun Jan 28 09:35:12 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 948 bytes
    - Viewed (0)
  2. bin/check_samples.sh

    ROOTDIR=$SCRIPTPATH/..
    cd "$ROOTDIR" || exit
    
    # rely on go build cache
    ISTIOCTL=bin/istioctl
    go build -o $ISTIOCTL ./istioctl/cmd/istioctl
    
    for f in samples/**/*.yaml; do
      if grep -q -e "{{" "$f" ; then
        echo "Skipping check for helm template $f"
        continue
      else
        echo "Validating $f..."
      $ISTIOCTL validate -x \
        -f "$f"
      fi
    Shell Script
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Sat Nov 04 01:54:50 GMT 2023
    - 1010 bytes
    - Viewed (0)
  3. schema/check_test.go

    )
    
    type UserCheck struct {
    	Name  string `gorm:"check:name_checker,name <> 'jinzhu'"`
    	Name2 string `gorm:"check:name <> 'jinzhu'"`
    	Name3 string `gorm:"check:,name <> 'jinzhu'"`
    }
    
    func TestParseCheck(t *testing.T) {
    	user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user check, got error %v", err)
    	}
    
    	results := map[string]schema.Check{
    Go
    - Registered: Sun Jan 28 09:35:12 GMT 2024
    - Last Modified: Tue Jun 02 01:18:01 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  4. internal/http/check_port_others.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. .github/workflows/check-bad-merge.yml

    # See .github/workflows/CheckBadMerge.groovy for explanation
    name: Check bad merge commit
    on:
      pull_request:
        types:
         - opened
         - synchronize
    
    jobs:
      check_pr_commits:
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 11
            uses: actions/setup-java@v4
            with:
    Others
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Tue Jan 30 18:26:59 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    }
    
    @test "Pip package generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/tools/pip_package:build_pip_package" \
        "//tensorflow/tools/pip_package:licenses"
    }
    
    @test "Libtensorflow generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow:libtensorflow.so" \
        "//tensorflow/tools/lib_package:clicenses_generate"
    }
    
    Plain Text
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  7. internal/http/check_port_linux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  8. ci/official/utilities/code_check_full.bats

    }
    
    @test "Pip package generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/tools/pip_package:wheel" \
        "//tensorflow/tools/pip_package:licenses"
    }
    
    @test "Libtensorflow generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow:libtensorflow.so" \
        "//tensorflow/tools/lib_package:clicenses_generate"
    }
    
    Plain Text
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. common/scripts/check_clean_repo.sh

    #   See the License for the specific language governing permissions and
    #   limitations under the License.
    
    function write_patch_file() {
        if [ -z "${ARTIFACTS}" ]; then
          return 0
        fi
    
        PATCH_NAME="check-clean-repo-diff.patch"
        PATCH_OUT="${ARTIFACTS}/${PATCH_NAME}"
        git diff > "${PATCH_OUT}"
    
        [ -n "${JOB_NAME}" ] && [ -n "${BUILD_ID}" ]
        IN_PROW="$?"
    
        # Don't persist large diffs (30M+) on CI
    Shell Script
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Wed Jan 11 22:57:12 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. ci/official/code_check_full.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    Shell Script
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Tue Feb 06 17:29:44 GMT 2024
    - 840 bytes
    - Viewed (0)
Back to top