- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 36 for newpass (0.42 seconds)
-
tests/scanner_valuer_test.go
if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil { t.Errorf("Should failed to update data with invalid data") } if err := DB.Model(&data).Update("password", EncryptedData("newpass")).Error; err != nil { t.Errorf("Should got no error update data with valid data, but got %v", err) } AssertEqual(t, data.Password, EncryptedData("newpass")) } type ScannerValuerStruct struct {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
static class NewSuper {} static class NewBase extends NewSuper {} @Incubating static class NewIncubatingBase extends NewSuper {} @Incubating interface IncubatingInterface {} interface InternalInterface {} interface StablePublicInterface {} CtClass oldBase CtClass newBase CtClass newSuper CtClass newIncubatingBaseCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
} [OldBase, OldSub, NewBase, NewSub].each { classes[it.simpleName] = instanceScopedPool.get(it.name) } classes['OldBase'].superclass = classes['OldSuperInternal'] classes['NewBase'].superclass = classes['NewSuperInternal'] classes['OldSub'].superclass = classes['OldBase'] classes['NewSub'].superclass = classes['NewBase']Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
} Optional<CtClass> oldClass = member.oldClass Optional<CtClass> newClass = member.newClass if (!oldClass.isPresent() || !newClass.isPresent()) { // breaking change would be reported return null } return checkSuperClassChanges(member, oldClass.get(), newClass.get()) } protected abstract boolean changed(JApiCompatibility member)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 2.2K bytes - Click Count (0) -
tests/embedded_struct_test.go
} if hnPost.Title != NewPost.Title { t.Errorf("Should find correct value for embedded pointer type") } if hnPost.Author.Name != NewPost.Author.Name { t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name) } if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 7.3K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
story === Story.MISSING, "Test stories missing, checkout git submodule", ) val newCases = mutableListOf<Case>() for (case in story.cases) { hpackWriter.writeHeaders(case.headersList) newCases += case.copy(wire = bytesOut.readByteString()) } testDecoder(story.copy(cases = newCases)) } companion object { private val RAW_DATA = arrayOf("raw-data") }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Click Count (0) -
cmd/peer-rest-client.go
resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err } // GetNetInfo - fetch network information for a remote node. func (client *peerRESTClient) GetNetInfo(ctx context.Context) (info madmin.NetInfo, err error) { resp, err := getNetInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy
} protected Violation checkSuperClassChanges(JApiClass c, CtClass oldClass, CtClass newClass) { Map<String, CtClass> oldInterfaces = collectImplementedInterfaces(oldClass) Map<String, CtClass> newInterfaces = collectImplementedInterfaces(newClass) newInterfaces.keySet().removeAll(oldInterfaces.keySet()) if (newInterfaces.isEmpty()) { return nullCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
if (existing != null) return existing if (computed == null) { computed = compute() } // If we successfully add the computed element, we're done. val newTags = tags.plus(type, computed) if (compareAndSet(tags, newTags)) return computed // We lost the race. Possibly to other code that was putting a *different* key. Try again! }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/peer-rest-server.go
reloadSiteReplicationConfigRPC = grid.NewSingleHandler[*grid.MSS, grid.NoPayload](grid.HandlerReloadSiteReplicationConfig, grid.NewMSS, grid.NewNoPayload) serverInfoRPC = grid.NewSingleHandler[*grid.MSS, *grid.JSON[madmin.ServerProperties]](grid.HandlerServerInfo, grid.NewMSS, madminServerProperties.NewJSON)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 53.6K bytes - Click Count (0)