- Sort Score
- Result 10 results
- Languages All
Results 1211 - 1220 of 1,605 for var1 (0.03 sec)
-
callbacks/helper.go
// when the length of mapValues is zero,return directly here // no need to call stmt.SelectAndOmitColumns method if len(mapValues) == 0 { stmt.AddError(gorm.ErrEmptySlice) return } var ( result = make(map[string][]interface{}, len(mapValues)) selectColumns, restricted = stmt.SelectAndOmitColumns(true, false) ) for idx, mapValue := range mapValues { for k, v := range mapValue {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Apr 14 12:32:57 UTC 2022 - 3.7K bytes - Viewed (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt
ServersForTest() } as ServersForTest private class ServersForTest { private val servers = mutableMapOf<String, MockWebServer>() private var started = false fun server(name: String): MockWebServer { return servers.getOrPut(name) { MockWebServer().also { if (started) it.start() } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 11 12:12:36 UTC 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/FormBody.kt
* length-in-digits of an encoded integer. */ private fun writeOrCountBytes( sink: BufferedSink?, countBytes: Boolean, ): Long { var byteCount = 0L val buffer: Buffer = if (countBytes) Buffer() else sink!!.buffer for (i in 0 until encodedNames.size) { if (i > 0) buffer.writeByte('&'.code) buffer.writeUtf8(encodedNames[i])
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 4.3K bytes - Viewed (0) -
internal/etag/etag.go
// ETag, err := Decrypt(key, ETag) // if err != nil { // } // } // ETag = ETag.Format() func (e ETag) Format() ETag { if !e.IsEncrypted() { return e } return e[len(e)-16:] } var _ Tagger = ETag{} // compiler check // ETag returns the ETag itself. // // By providing this method ETag implements // the Tagger interface. func (e ETag) ETag() ETag { return e }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/assemblies/files/generate-thumbnail
check_command() { cmd=$1 cmd_path=$(command -v "${cmd}") if [[ ! -e "${cmd_path}" ]] ; then echo "${cmd} does not exist." exit 1 fi } if [[ x"$HOME" = "x/root" ]] ; then HOME=/var/lib/fess fi if [[ x"${cmd_type}" = "xmsoffice" ]] ; then check_command convert check_command pdftoppm check_command unoconv tmp_pdf_file=/tmp/thumbnail.$$.pdf
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 12 13:13:28 UTC 2023 - 2.5K bytes - Viewed (0) -
internal/mountinfo/mountinfo_windows.go
// this is a dummy function and returns nil for now. func CheckCrossDevice(paths []string) error { return nil } // mountPointCache contains results of IsLikelyMountPoint var mountPointCache sync.Map // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(path string) bool { path = filepath.Dir(path) if v, ok := mountPointCache.Load(path); ok {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 2K bytes - Viewed (0) -
internal/rest/client_test.go
want: false, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // Wrap error n := &NetworkError{ Err: tt.err, } //nolint:gocritic if tt.target == nil { var netErrInterface net.Error if errors.As(n, &netErrInterface) != tt.want { t.Errorf("errors.As(n, &tt.target) != tt.want, n: %#v, target: %#v, want:%v, got: %v", n, tt.target, tt.want, !tt.want) } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 1.9K bytes - Viewed (0) -
cmd/shared-lock.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "time" ) var sharedLockTimeout = newDynamicTimeoutWithOpts(dynamicTimeoutOpts{ timeout: 30 * time.Second, minimum: 10 * time.Second, retryInterval: time.Minute, }) type sharedLock struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 13 09:26:38 UTC 2023 - 2.3K bytes - Viewed (0) -
istioctl/pkg/cli/mock_client.go
return "localhost:3456" } func (m MockPortForwarder) Close() { } func (m MockPortForwarder) ErrChan() <-chan error { return make(chan error) } func (m MockPortForwarder) WaitForStop() { } var _ kube.PortForwarder = MockPortForwarder{} type MockClient struct { // Results is a map of podName to the results of the expected test on the pod Results map[string][]byte kube.CLIClient }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 08 08:38:19 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
"cmd/asm/internal/lex" "cmd/internal/obj" "cmd/internal/obj/ppc64" "cmd/internal/obj/riscv" "cmd/internal/obj/x86" "cmd/internal/sys" ) // TODO: configure the architecture var testOut *strings.Builder // Gathers output when testing. // append adds the Prog to the end of the program-thus-far. // If doLabel is set, it also defines the labels collect for this Prog.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0)