Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 319 for var0 (0.13 sec)

  1. clause/locking_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestLocking(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate}},
    			"SELECT * FROM `users` FOR UPDATE", nil,
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:32:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

            result.output.contains "Hello world!1"
            result.output.contains "Hello world! (buildSrc)"
        }
    
        static class FileSubclass extends File {
            FileSubclass(File var1) {
                super(var1.absolutePath)
            }
        }
    
        @InspectsExecutedTasks
        def "injected classpath may contain File subclasses"() {
            given:
            buildFile << plugin.build().useDeclaration
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	object, err := unescapePath(vars["object"])
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerEnvironmentVariablesIntegrationTest.groovy

        def "user can provide env vars"() {
            given:
            buildScript "file('env.txt') << System.getenv('dummyEnvVar')"
    
            when:
            runner().withEnvironment(dummyEnvVar: "env var OK").build()
    
            then:
            file('env.txt').text == "env var OK"
        }
    
        @Debug
        def "debug mode is not allowed with env vars"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	idpCfgType := mux.Vars(r)["type"]
    	cfgName := mux.Vars(r)["name"]
    	password := cred.SecretKey
    
    	if !madmin.ValidIDPConfigTypes.Contains(idpCfgType) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigInvalidIDPType), r.URL)
    		return
    	}
    
    	cfg := globalServerConfig.Clone()
    	var cfgInfos []madmin.IDPCfgInfo
    	var err error
    	switch idpCfgType {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. pkg/test/fakes/gce_metadata_server/main.go

    		}
    
    		next.ServeHTTP(w, r)
    	})
    }
    
    func handleAttrs(attrs map[string]string) func(w http.ResponseWriter, r *http.Request) {
    	return func(w http.ResponseWriter, r *http.Request) {
    		vars := mux.Vars(r)
    
    		if val, ok := attrs[vars[attrKey]]; ok {
    			fmt.Fprint(w, val)
    			return
    		}
    
    		http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)
    	}
    }
    
    func main() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/decompose-hybrid-quantization.mlir

      // CHECK-DAG: %[[VAL1:.+]] = "tfl.pseudo_const"() <{value = dense<1> : tensor<16x1x1x8xi8>}>
      // CHECK-DAG: %[[VAL2:.+]] = "tfl.conv_2d"(%arg0, %[[VAL0]], %[[VAL1]]) <{dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_h = 1 : i32, stride_w = 1 : i32}>
      // CHECK: return %[[VAL2]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/cmd/internal/dwarf/dwarf.go

    			_, found := pvars[s.Vars[i]]
    			if !found {
    				pruned.Vars = append(pruned.Vars, s.Vars[i])
    			}
    		}
    		sort.Sort(byChildIndex(pruned.Vars))
    		scopes[k] = pruned
    	}
    
    	s.dictIndexToOffset = putparamtypes(ctxt, s, scopes, fnabbrev)
    
    	var encbuf [20]byte
    	if putscope(ctxt, s, scopes, 0, fnabbrev, encbuf[:0]) < int32(len(scopes)) {
    		return errors.New("multiple toplevel scopes")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  9. src/image/jpeg/scan.go

    			z := int32(0)
    			value, err := d.decodeHuffman(h)
    			if err != nil {
    				return err
    			}
    			val0 := value >> 4
    			val1 := value & 0x0f
    
    			switch val1 {
    			case 0:
    				if val0 != 0x0f {
    					d.eobRun = uint16(1 << val0)
    					if val0 != 0 {
    						bits, err := d.decodeBits(int32(val0))
    						if err != nil {
    							return err
    						}
    						d.eobRun |= uint16(bits)
    					}
    					break loop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    	sql := DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	if !regexp.MustCompile(`.*age.*=8,`).MatchString(sql) {
    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    
    	stmt = dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageUint64(10241024)}).Statement
    	sql = DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	if !regexp.MustCompile(`.*age.*=10241024,`).MatchString(sql) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top