Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 292 for expr (0.14 sec)

  1. src/cmd/cgo/godefs.go

    		}
    	}
    
    	// Otherwise, if the source file says type T C.whatever,
    	// use "T" as the mangling of C.whatever,
    	// except in the definition (handled at end of function).
    	refName := make(map[*ast.Expr]*Name)
    	for _, r := range f.Ref {
    		refName[r.Expr] = r.Name
    	}
    	for _, d := range f.AST.Decls {
    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    // 2) Precedence uses Go rules not C rules.
    
    // expr = term | term ('+' | '-' | '|' | '^') term.
    func (p *Parser) expr() uint64 {
    	value := p.term()
    	for {
    		switch p.peek() {
    		case '+':
    			p.next()
    			value += p.term()
    		case '-':
    			p.next()
    			value -= p.term()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/boostdoc/admin_boostdoc_edit.jsp

                                        <label for="urlExpr" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.boost_document_rule_url_expr"/></label>
                                        <div class="col-sm-9">
                                            <la:errors property="urlExpr"/>
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 20:25:27 GMT 2020
    - 5K bytes
    - Viewed (0)
  4. helm/minio/templates/_helper_custom_command.txt

      MC_COMMAND="${MC} alias set myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ;
      $MC_COMMAND ;
      STATUS=$? ;
      until [ $STATUS = 0 ]
      do
        ATTEMPTS=`expr $ATTEMPTS + 1` ;
        echo \"Failed attempts: $ATTEMPTS\" ;
        if [ $ATTEMPTS -gt $LIMIT ]; then
          exit 1 ;
        fi ;
        sleep 2 ; # 1 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 19 20:34:14 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  5. clause/order_by_test.go

    				},
    			},
    			"SELECT * FROM `users` ORDER BY `name`", nil,
    		},
    		{
    			[]clause.Interface{
    				clause.Select{}, clause.From{}, clause.OrderBy{
    					Expression: clause.Expr{SQL: "FIELD(id, ?)", Vars: []interface{}{[]int{1, 2, 3}}, WithoutParentheses: true},
    				},
    			},
    			"SELECT * FROM `users` ORDER BY FIELD(id, ?,?,?)",
    			[]interface{}{1, 2, 3},
    		},
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  6. istioctl/pkg/util/configdump/wrapper.go

    // limitations under the License.
    
    package configdump
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. tests/update_test.go

    	}
    
    	if err := DB.Model(&results[0]).Updates(map[string]interface{}{"age": gorm.Expr("age + ?", 100)}).Error; err != nil {
    		t.Errorf("Not error should happen when updating with gorm expr, but got %v", err)
    	}
    
    	if err := DB.Model(&results[1]).Clauses(clause.Returning{Columns: []clause.Column{{Name: "age"}}}).Updates(map[string]interface{}{"age": gorm.Expr("age + ?", 100)}).Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  8. src/main/assemblies/files/fess

    CDPATH=""
    SCRIPT="$0"
    
    # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
    while [ -h "$SCRIPT" ] ; do
      ls=`ls -ld "$SCRIPT"`
      # Drop everything prior to ->
      link=`expr "$ls" : '.*-> \(.*\)$'`
      if expr "$link" : '/.*' > /dev/null; then
        SCRIPT="$link"
      else
        SCRIPT=`dirname "$SCRIPT"`/"$link"
      fi
    done
    
    # determine fess home
    FESS_HOME=`dirname "$SCRIPT"`/..
    
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/alerts.md

    ```yaml
    groups:
    - name: example
      rules:
      - alert: MinIOClusterTolerance
        expr: minio_cluster_health_erasure_set_status < 1
        for: 5m
        labels:
          severity: critical
        annotations:
          summary: "Instance {{ $labels.server }} has lost quorum on pool {{ $labels.pool }} on set {{ $labels.set }}"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 20:53:59 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. utils/tests/dummy_dialecter.go

    		LastInsertIDReversed: true,
    	})
    
    	return nil
    }
    
    func (DummyDialector) DefaultValueOf(field *schema.Field) clause.Expression {
    	return clause.Expr{SQL: "DEFAULT"}
    }
    
    func (DummyDialector) Migrator(*gorm.DB) gorm.Migrator {
    	return nil
    }
    
    func (DummyDialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) {
    	writer.WriteByte('?')
    }
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 06 06:03:31 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top