Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 165 for res (0.04 sec)

  1. internal/s3select/select_test.go

    				StatusCode:    http.StatusOK,
    				Body:          io.NopCloser(bytes.NewReader(w.response)),
    				ContentLength: int64(len(w.response)),
    			}
    			res, err := minio.NewSelectResults(&resp, "testbucket")
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			got, err := io.ReadAll(res)
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			gotS := strings.TrimSpace(string(got))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  2. tests/query_test.go

    		Nickname string
    		Age      uint
    	}
    	var res result
    	DB.Table("users").Where("name = ?", user.Name).MapColumns(map[string]string{"name": "nickname"}).Scan(&res)
    	if res.Nickname != user.Name {
    		t.Errorf("Expected res.Nickname to be %s, but got %s", user.Name, res.Nickname)
    	}
    	if res.Name != "" {
    		t.Errorf("Expected res.Name to be empty, but got %s", res.Name)
    	}
    	if res.Age != user.Age {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. internal/s3select/sql/value.go

    	}
    
    	intV, ok1i := v.ToInt()
    	intA, ok2i := a.ToInt()
    	switch {
    	case ok1i && ok2i:
    		res, err := intArithOp(op, intV, intA)
    		v.setInt(res)
    		return err
    
    	default:
    		// Convert arguments to float
    		flV, _ := v.ToFloat()
    		flA, _ := a.ToFloat()
    		res, err := floatArithOp(op, flV, flA)
    		v.setFloat(res)
    		return err
    	}
    }
    
    func inferTypeForArithOp(a *Value) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

        String getWebConfigId() {
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("name", "test_webconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
            List<String> webConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_webconfig\")}.id");
            return webConfigList.get(0);
        }
    
        @AfterEach
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. okhttp-android/src/androidTest/AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="okhttp.android.test">
    
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 20 06:48:45 UTC 2022
    - 195 bytes
    - Viewed (0)
  6. cmd/batch-rotate.go

    	}); err != nil {
    		cancel()
    		// Do not need to retry if we can't list objects on source.
    		return err
    	}
    	failed := false
    	for res := range results {
    		if res.Err != nil {
    			failed = true
    			batchLogIf(ctx, res.Err)
    			break
    		}
    		result := res.Item
    		sseKMS := crypto.S3KMS.IsEncrypted(result.UserDefined)
    		sseS3 := crypto.S3.IsEncrypted(result.UserDefined)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    			}
    			b, err := yaml.Marshal(gw)
    			if err != nil {
    				return err
    			}
    			// strip junk
    			res := strings.ReplaceAll(string(b), `  creationTimestamp: null
    `, "")
    			res = strings.ReplaceAll(res, `status: {}
    `, "")
    			fmt.Fprint(cmd.OutOrStdout(), res)
    			return nil
    		},
    	}
    	waypointGenerateCmd.Flags().StringVar(&trafficType,
    		"for",
    		"",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

                    e = i - 4;
                    break;
                }
            }
    
            StackTraceElement[] res = new StackTraceElement[e - s];
            System.arraycopy(stackTrace, s, res, 0, e - s);
            return res;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  9. cmd/benchmark-utils_test.go

    	textData := generateBytesData(objSize)
    	// generate md5sum for the generated data.
    	// md5sum of the data to written is required as input for NewMultipartUpload.
    	res, err := obj.NewMultipartUpload(context.Background(), bucket, object, ObjectOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	sha256hex := ""
    
    	var textPartData []byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_test.go

    	cniAddServerCalled := false
    
    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		cniAddServerCalled = true
    		if serverErr {
    			res.WriteHeader(http.StatusInternalServerError)
    			res.Write([]byte("server not happy"))
    			return
    		}
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    
    	// replace the global CNI client with mock
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top