Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 485 for nextId (0.75 sec)

  1. tests/transaction_test.go

    		t.Fatalf("Should find saved record")
    	}
    }
    
    func TestNestedTransactionWithBlock(t *testing.T) {
    	var (
    		user  = *GetUser("transaction-nested", Config{})
    		user1 = *GetUser("transaction-nested-1", Config{})
    		user2 = *GetUser("transaction-nested-2", Config{})
    	)
    
    	if err := DB.Transaction(func(tx *gorm.DB) error {
    		tx.Create(&user)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

            def absoluteNestedFile = new File(baseDir, 'child/nested').absoluteFile
            assertEquals("child${File.separator}nested".toString(), baseDirConverter.resolveAsRelativePath(absoluteNestedFile))
            assertEquals("child${File.separator}nested".toString(), baseDirConverter.resolveAsRelativePath(absoluteNestedFile.absolutePath))
    
            assertEquals("child${File.separator}nested".toString(), baseDirConverter.resolveForDisplay(absoluteNestedFile))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go

              "name": "instance",
              "unspecified": "bar"
            },
            "spec": {
            }
          }
        }
      }
    }
    `, expectedPruned: []string{"nested.spec.embedded.spec.unspecified", "nested.spec.embedded.unspecified", "nested.spec.unspecified", "nested.unspecified", "pruned.spec.unspecified", "pruned.unspecified", "unspecified"}},
    		{name: "x-kubernetes-embedded-resource, with root=true", json: `
    {
      "apiVersion": "foo/v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm_test.go

              "name": "instance"
            },
            "spec": {
              "unspecified": "bar"
            }
          }
        }
      }
    }
    `, expectedUnknownFields: []string{
    			"nested.metadata.unspecified",
    			"nested.spec.embedded.metadata.unspecified",
    			"preserving.metadata.unspecified",
    			"pruned.metadata.unspecified",
    		}},
    		{name: "x-kubernetes-embedded-resource, with includeRoot=true", json: `
    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

            }
    
            @Nested
            public Object getBean() {
                return bean;
            }
        }
    
        public static class TaskWithNestedIterable extends TaskWithAction {
            Object bean;
    
            @Inject
            public TaskWithNestedIterable(Object nested) {
                bean = nested;
            }
    
            @Nested
            public List<?> getBeans() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

                containsMultiLineString(
                    """
                    nested: my.Nested.Extension
                    nested{} my.Nested.Extension
                    beans: org.gradle.api.NamedDomainObjectContainer<my.Nested.Extension>
                    beans{} org.gradle.api.NamedDomainObjectContainer<my.Nested.Extension>
                    bar
                    baz
                    """
                )
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  7. internal/hash/reader_test.go

    				"88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589",
    			},
    		},
    		{
    			desc:       "Nested hash reader NewReader() should merge.",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4),
    			size:       4,
    			actualSize: 4,
    		},
    		{
    			desc:       "Incorrect sha256, nested",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4),
    			size:       4,
    			actualSize: 4,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    		t.Errorf("expected cause when wrapped, got %v: %#v", ok, cause)
    	}
    
    	nested := fmt.Errorf("twice: %w", wrapped)
    	if cause, ok := StatusCause(nested, "SomeCause"); !ok || cause != err.ErrStatus.Details.Causes[0] {
    		t.Errorf("expected cause when nested, got %v: %#v", ok, cause)
    	}
    }
    
    func BenchmarkIsAlreadyExistsWrappedErrors(b *testing.B) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers.go

    }
    
    // SetNestedSlice sets the slice value of a nested field.
    // Returns an error if value cannot be set because one of the nesting levels is not a map[string]interface{}.
    func SetNestedSlice(obj map[string]interface{}, value []interface{}, fields ...string) error {
    	return SetNestedField(obj, value, fields...)
    }
    
    // SetNestedStringMap sets the map[string]string value of a nested field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 20:39:55 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

            then:
            def e = thrown(IllegalStateException)
            e.message == 'Cannot append text as there is no current node.'
        }
    
        interface Thing<T> extends List<Nested>, Map<Nested, ? extends Consumer<? super T>> {
            interface Nested {
                class Inner {}
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top