Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,691 for check (0.16 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: 2024-01-28 09:35
    - Last Modified: 2022-01-06 07:02
    - 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: 2024-02-21 22:53
    - Last Modified: 2023-11-04 01:54
    - 1010 bytes
    - Viewed (0)
  3. schema/check_test.go

    			Constraint: "name <> 'jinzhu'",
    		},
    		"chk_user_checks_name2": {
    			Name:       "chk_user_checks_name2",
    			Constraint: "name <> 'jinzhu'",
    		},
    		"chk_user_checks_name3": {
    			Name:       "chk_user_checks_name3",
    			Constraint: "name <> 'jinzhu'",
    		},
    	}
    
    	checks := user.ParseCheckConstraints()
    
    	for k, result := range results {
    		v, ok := checks[k]
    		if !ok {
    Go
    - Registered: 2024-01-28 09:35
    - Last Modified: 2020-06-02 01:18
    - 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: 2024-01-28 19:28
    - Last Modified: 2023-05-03 21:12
    - 1.5K bytes
    - Viewed (0)
  5. 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: 2024-01-28 19:28
    - Last Modified: 2023-05-03 21:12
    - 1.9K 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: 2024-02-13 12:39
    - Last Modified: 2023-09-18 14:52
    - 12.7K bytes
    - Viewed (0)
  7. ci/official/code_check_full.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    Shell Script
    - Registered: 2024-02-13 12:39
    - Last Modified: 2024-02-06 17:29
    - 840 bytes
    - Viewed (0)
  8. 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: 2024-02-21 22:53
    - Last Modified: 2023-01-11 22:57
    - 1.7K bytes
    - Viewed (0)
  9. .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: 2024-02-21 11:36
    - Last Modified: 2024-01-30 18:26
    - 1.7K bytes
    - Viewed (0)
  10. ci/official/utilities/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: 2024-02-13 12:39
    - Last Modified: 2024-02-06 17:29
    - 13.3K bytes
    - Viewed (0)
Back to top