- Sort Score
- Num 10 results
- Language All
Results 4161 - 4170 of 8,968 for pacXkage (0.12 seconds)
-
tests/gorm_test.go
package tests_test import ( "testing" "gorm.io/driver/mysql" "gorm.io/gorm" ) func TestOpen(t *testing.T) { dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc _, err := gorm.Open(mysql.Open(dsn), &gorm.Config{}) if err == nil { t.Fatalf("should returns error but got nil") } } func TestReturningWithNullToZeroValues(t *testing.T) { dialect := DB.Dialector.Name() switch dialect {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jun 01 07:22:21 GMT 2023 - 3.3K bytes - Click Count (0) -
internal/event/errors.go
// GNU Affero General Public License for more details. // // 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 event import ( "encoding/xml" "fmt" ) // IsEventError - checks whether given error is event error or not. func IsEventError(err error) bool { switch err.(type) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 4.1K bytes - Click Count (0) -
internal/store/store_test.go
// GNU Affero General Public License for more details. // // 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 store import ( "testing" ) func TestKeyString(t *testing.T) { testCases := []struct { key Key expectedString string }{ { key: Key{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 4K bytes - Click Count (0) -
internal/kms/errors.go
// GNU Affero General Public License for more details. // // 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 kms import ( "fmt" "net/http" ) var ( // ErrPermission is an error returned by the KMS when it has not // enough permissions to perform the operation. ErrPermission = Error{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jul 16 14:03:03 GMT 2024 - 3.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility import org.junit.Test class KotlinNullabilityChangesTest : AbstractBinaryCompatibilityTest() { @Test fun `from non-null returning to null returning is breaking`() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5K bytes - Click Count (0) -
src/bytes/boundary_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // //go:build linux package bytes_test import ( . "bytes" "syscall" "testing" ) // This file tests the situation where byte operations are checking // data very near to a page boundary. We want to make sure those // operations do not read across the boundary and cause a page
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 30 20:05:58 GMT 2023 - 2.8K bytes - Click Count (0) -
src/cmd/addr2line/addr2line_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "bufio" "bytes" "internal/testenv" "os" "path/filepath" "runtime" "strings" "testing" ) // TestMain executes the test binary as the addr2line command if // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 06 13:23:48 GMT 2024 - 3.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs.dsl.source import com.github.javaparser.JavaParser import gradlebuild.docs.DocGenerationException import gradlebuild.docs.model.ClassMetaDataRepository
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.sql; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException;
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/IndexedIterator.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Iterator; import org.codelibs.core.exception.ClUnsupportedOperationException; /**
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.3K bytes - Click Count (0)