Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 690 for record (0.19 sec)

  1. tests/soft_delete_test.go

    		t.Errorf("Can't find a soft deleted record")
    	}
    
    	count = 0
    	if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 0 {
    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 0, count)
    	}
    
    	age = 0
    	if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != 0 {
    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  2. internal/s3select/json/reader_test.go

    		t.Run(file.Name(), func(t *testing.T) {
    			f, err := os.Open(filepath.Join("testdata", file.Name()))
    			if err != nil {
    				t.Fatal(err)
    			}
    			r := NewReader(f, &ReaderArgs{})
    			var record sql.Record
    			for {
    				record, err = r.Read(record)
    				if err != nil {
    					break
    				}
    			}
    			r.Close()
    			if err != io.EOF {
    				t.Fatalf("Reading failed with %s, %s", err, file.Name())
    			}
    		})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertEquals("message", record.getMessage());
        assertSame(EXCEPTION, record.getThrown());
      }
    
      public void testConcurrentModification() throws Exception {
        // Tests for the absence of a bug where logging while iterating over the
        // stored log records causes a ConcurrentModificationException
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertEquals("message", record.getMessage());
        assertSame(EXCEPTION, record.getThrown());
      }
    
      public void testConcurrentModification() throws Exception {
        // Tests for the absence of a bug where logging while iterating over the
        // stored log records causes a ConcurrentModificationException
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.8K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader_contrib_test.go

    	}
    	defer r.Close()
    	b.ReportAllocs()
    	b.ResetTimer()
    	b.SetBytes(int64(len(f)))
    	var record sql.Record
    	for i := 0; i < b.N; i++ {
    		r, err = NewReader(io.NopCloser(bytes.NewBuffer(f)), &args)
    		if err != nil {
    			b.Fatalf("Reading init failed with %s", err)
    		}
    		for err == nil {
    			record, err = r.Read(record)
    			if err != nil && err != io.EOF {
    				b.Fatalf("Reading failed with %s", err)
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
                    Record record = (Record) obj;
                    result.setVersion(record.version);
                    result.setRepository(
                            getRepository(session, request.getRepositories(), record.repoClass, record.repoId));
                    return result;
                }
            }
    
            Metadata metadata;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java

        /**
         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            Objects.requireNonNull(pluginArtifacts, "pluginArtifacts cannot be null");
    
            assertUniqueKey(key);
    
            CacheRecord record = new CacheRecord(Collections.unmodifiableList(new ArrayList<>(pluginArtifacts)));
    
            cache.put(key, record);
    
            return record;
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java

        /**
         * Registers the specified cache record for usage with the given project. Integrators can use the information
         * collected from this method in combination with a custom cache implementation to dispose unused records from the
         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 15 06:34:19 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/TestLogHandler.java

    public class TestLogHandler extends Handler {
      /** We will keep a private list of all logged records */
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
      public synchronized void publish(@Nullable LogRecord record) {
        if (record != null) {
          list.add(record);
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top