Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2491 - 2500 of 4,698 for uses (0.04 sec)

  1. clause/delete_test.go

    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Delete{}, clause.From{}},
    			"DELETE FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Delete{Modifier: "LOW_PRIORITY"}, clause.From{}},
    			"DELETE LOW_PRIORITY FROM `users`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 608 bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putLong(5000L); // Actual free (more than caller can use)
                buffer.putInt(8);
                buffer.putInt(512);
    
                // When
                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
    
                // Then
                assertEquals(10000L * 8 * 512, fileFsFullSizeInfo.getCapacity());
                // Should use caller available, not actual free
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. clause/insert_test.go

    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Insert{}},
    			"INSERT INTO `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Insert{Modifier: "LOW_PRIORITY"}},
    			"INSERT LOW_PRIORITY INTO `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Insert{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 737 bytes
    - Viewed (0)
  4. tests/associations_test.go

    		t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
    	}
    
    	var newUser User
    	if user, ok := data.(User); ok {
    		DB.Find(&newUser, "id = ?", user.ID)
    	} else if user, ok := data.(*User); ok {
    		DB.Find(&newUser, "id = ?", user.ID)
    	}
    
    	if newUser.ID != 0 {
    		if count := DB.Model(&newUser).Association(name).Count(); count != result {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.user.allcommon;
    
    import java.text.SimpleDateFormat;
    import java.time.LocalDateTime;
    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    @NullUnmarked
    public class CacheBuilderSpecTest extends TestCase {
      public void testParse_empty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CollectCollectors.java

    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /** Collectors utilities for {@code common.collect} internals. */
    @GwtCompatible
    @IgnoreJRERequirement // used only from APIs with Java 8 types in them
    final class CollectCollectors {
    
      private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST =
          Collector.of(
              ImmutableList::builder,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    	p := readMsgpReaderPool.Get()
    	if p.R == nil {
    		p.R = xbufio.NewReaderSize(r, 32<<10)
    	} else {
    		p.R.Reset(r)
    	}
    	return p
    }
    
    // readMsgpReaderPoolPut can be used to reuse a *msgp.Reader.
    func readMsgpReaderPoolPut(r *msgp.Reader) {
    	if r != nil {
    		readMsgpReaderPool.Put(r)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                return this.localhostAddress.hostName;
            }
            return null;
        }
    
        /**
         * Gets the lmhosts resolver instance used by this client.
         *
         * @return lmhosts file used
         */
        public Lmhosts getLmhosts() {
            return this.lmhosts;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. src/bytes/buffer_test.go

    	check(t, "NewBuffer", buf, testString)
    }
    
    var buf Buffer
    
    // Calling NewBuffer and immediately shallow copying the Buffer struct
    // should not result in any allocations.
    // This can be used to reset the underlying []byte of an existing Buffer.
    func TestNewBufferShallow(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t)
    	n := testing.AllocsPerRun(1000, func() {
    		buf = *NewBuffer(testBytes)
    	})
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top