Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 662 for secondes (0.06 sec)

  1. tests/transaction_test.go

    	}
    }
    
    func TestTransactionWithDefaultTimeout(t *testing.T) {
    	db, err := OpenTestConnection(&gorm.Config{DefaultTransactionTimeout: 2 * time.Second})
    	if err != nil {
    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    
    	tx := db.Begin()
    	time.Sleep(3 * time.Second)
    	if err = tx.Find(&User{}).Error; err == nil {
    		t.Errorf("should return error when transaction timeout, got error %v", err)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
                        out.append("Process is terminated due to ").append(timeout).append(" second exceeded.\n");
                    }
                    out.append("Exit Code: ").append(exitValue).append("\nOutput:\n").append(it.getOutput());
                    throw new JobProcessingException(out.toString());
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            target.close();
            verify(fileHandle, times(1)).close();
            verify(fileHandle, never()).release();
            verify(tree, atLeastOnce()).release();
    
            // Re-prepare state for second branch: not open but handle set
            when(fileHandle.isValid()).thenReturn(false);
            // Need to reopen logic to set handle again
            // Reset open flag by reconstructing target
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. tests/helper_test.go

    	Company   bool
    	Manager   bool
    	Team      int
    	Languages int
    	Friends   int
    	NamedPet  bool
    	Tools     int
    }
    
    func GetUser(name string, config Config) *User {
    	var (
    		birthday = time.Now().Round(time.Second)
    		user     = User{
    			Name:     name,
    			Age:      18,
    			Birthday: &birthday,
    		}
    	)
    
    	if config.Account {
    		user.Account = Account{Number: name + "_account"}
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. docs/lambda/README.md

    	// Generate presigned GET url with lambda function
    	presignedURL, err := s3Client.PresignedGetObject(context.Background(), "functionbucket", "testobject", time.Duration(1000)*time.Second, reqParams)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	fmt.Println(presignedURL)
    }
    ```
    
    Use the Presigned URL via `curl` to receive the transformed object.
    ```
    curl -v $(go run presigned.go)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    						}
    						return
    					}
    					if configRetriableErrors(err) {
    						decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pools %v: %w: retrying..", pools, err))
    						time.Sleep(time.Second + time.Duration(r.Float64()*float64(5*time.Second)))
    						continue
    					}
    					decomLogIf(ctx, fmt.Errorf("Unable to resume decommission of pool %v: %w", pools, err))
    					return
    				}
    			}
    		}()
    	}
    
    	return nil
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  7. src/main/java/jcifs/SmbResource.java

        /**
         * Retrieve the last time the file represented by this
         * <code>SmbResource</code> was modified. The value returned is suitable for
         * constructing a {@link java.util.Date} object (i.e. seconds since Epoch
         * 1970). Times should be the same as those reported using the properties
         * dialog of the Windows Explorer program.
         *
         * @return The number of milliseconds since the 00:00:00 GMT, January 1,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        // First CONNECT call needs a new connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
    
        // Second CONNECT call needs a new connection.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
    
        // GET reuses the connection from the second connect.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  9. cmd/utils.go

    		CurvePreferences: crypto.TLSCurveIDs(),
    		TCPOptions:       globalTCPOptions,
    		EnableHTTP2:      false,
    	}
    
    	if clientCert != "" && clientKey != "" {
    		ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    		defer cancel()
    		transport, err := s.NewHTTPTransportWithClientCerts(ctx, clientCert, clientKey)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

         * The outer map key is the virtual host key, and the value is a pair containing:
         * - First: Map of exact term matches (term -> content)
         * - Second: List of regex pattern matches (Pattern -> content template)
         */
        protected Map<String, Pair<Map<String, String>, List<Pair<Pattern, String>>>> relatedContentMap = Collections.emptyMap();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top