Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3821 - 3830 of 4,295 for During (0.06 seconds)

  1. tests/benchmark_test.go

    		DB.Raw("select * from users").Scan(&u)
    	}
    }
    
    func BenchmarkUpdate(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Model(&user).Updates(map[string]interface{}{"Age": x})
    	}
    }
    
    func BenchmarkDelete(b *testing.B) {
    	user := *GetUser("find", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    		DB.Delete(&user)
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 01 03:50:57 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  2. internal/http/check_port_others.go

    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    	l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  3. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt

    import javax.inject.Inject
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class GenerateSample : DefaultTask() {
    
        @get:Input
        abstract val type: Property<String>
    
        @get:Input
        abstract val modularization: Property<ModularizationOption>
    
        @get:InputDirectory
        @get:PathSensitive(PathSensitivity.NAME_ONLY)
        abstract val readmeTemplates: DirectoryProperty
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

      @Test
      fun serverCancelsRequestBodyAndSendsResponseBody() {
        client =
          client
            .newBuilder()
            .retryOnConnectionFailure(false)
            .build()
        val log: BlockingQueue<String?> = LinkedBlockingQueue()
        enableProtocol(Protocol.HTTP_2)
        val body =
          MockSocketHandler()
            .sendResponse("success!")
            .exhaustResponse()
            .cancelStream()
        server.enqueue(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
        @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant();
      }
    
      private static class ParentClassHasConstant extends WithPublicConstant {}
    
      public static class WithGenericConstant<T> {
        public static final WithGenericConstant<String> STRING_CONSTANT = new WithGenericConstant<>();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  6. cmd/metacache-stream_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"reflect"
    	"sync"
    	"testing"
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 15K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/NtlmChallenge.java

         */
        public NtlmChallenge(final byte[] challenge, final UniAddress dc) {
            this.challenge = challenge;
            this.dc = dc;
        }
    
        @Override
        public String toString() {
            return "NtlmChallenge[challenge=0x" + Hexdump.toHexString(this.challenge, 0, this.challenge.length * 2) + ",dc="
                    + this.dc.toString() + "]";
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/FileEntry.java

     * Provides access to file metadata and attributes.
     *
     */
    public interface FileEntry {
    
        /**
         * Gets the file name.
         *
         * @return the file name
         */
        String getName();
    
        /**
         * Gets the file type.
         *
         * @return the file type
         */
        int getType();
    
        /**
         * Gets the file attributes.
         *
         * @return the file attributes
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

        private final List<ScoreBooster> scoreBoosterList = new ArrayList<>();
    
        /**
         * Executes all score boosters.
         * @return The result of the execution.
         */
        public String execute() {
            final StringBuilder resultBuf = new StringBuilder();
            scoreBoosterList.forEach(b -> {
                try {
                    final long count = b.process();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/TransWaitNamedPipeResponse.java

            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("TransWaitNamedPipeResponse[" + super.toString() + "]");
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top