Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 1,601 for var1 (0.06 sec)

  1. fastapi/encoders.py

                return encoder(obj)
    
        try:
            data = dict(obj)
        except Exception as e:
            errors: List[Exception] = []
            errors.append(e)
            try:
                data = vars(obj)
            except Exception as e:
                errors.append(e)
                raise ValueError(errors) from e
        return jsonable_encoder(
            data,
            include=include,
            exclude=exclude,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. cmd/erasure-heal_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"io"
    	"os"
    	"testing"
    )
    
    var erasureHealTests = []struct {
    	dataBlocks, disks int
    
    	// number of offline disks is also number of staleDisks for
    	// erasure reconstruction in this test
    	offDisks int
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. internal/event/target/mqtt.go

    		// https://github.com/eclipse/paho.mqtt.golang/blob/master/options.go#L115
    		args.MaxReconnectInterval = 10 * time.Minute
    	}
    
    	if args.KeepAlive == 0 {
    		args.KeepAlive = 10 * time.Second
    	}
    
    	var queueStore store.Store[event.Event]
    	if args.QueueDir != "" {
    		queueDir := filepath.Join(args.QueueDir, storePrefix+"-mqtt-"+id)
    		queueStore = store.NewQueueStore[event.Event](queueDir, args.QueueLimit, event.StoreExtension)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig_test.go

    				Results:   c.execClientConfig,
    				Namespace: "default",
    			})), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig_edit.jsp

                                                       styleClass="form-control">
                                                <c:forEach var="l" varStatus="s" items="${labelTypeItems}">
                                                    <la:option value="${f:u(l.id)}">${f:h(l.name)}</la:option>
                                                </c:forEach>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 15.9K bytes
    - Viewed (0)
  6. cmd/site-replication-utils.go

    func siteResyncStatus(currSt ResyncStatusType, m map[string]ResyncStatusType) ResyncStatusType {
    	// avoid overwriting canceled resync status
    	if currSt != ResyncStarted {
    		return currSt
    	}
    	totBuckets := len(m)
    	var cmpCount, failCount int
    	for _, st := range m {
    		switch st {
    		case ResyncCompleted:
    			cmpCount++
    		case ResyncFailed:
    			failCount++
    		}
    	}
    	if cmpCount == totBuckets {
    		return ResyncCompleted
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. internal/config/errors.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    // UI errors
    var (
    	ErrInvalidXLValue = newErrFn(
    		"Invalid drive path",
    		"Please provide a fresh drive for single drive MinIO setup",
    		"MinIO only supports fresh drive paths",
    	)
    
    	ErrInvalidBrowserValue = newErrFn(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 16:57:01 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      val clientTestRule = OkHttpClientTestRule()
    
      @TempDir
      lateinit var tempDir: File
    
      private lateinit var server: MockWebServer
      private lateinit var server2: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private var client = clientTestRule.newClient()
      private var cache: Cache? = null
    
      @BeforeEach
      fun setUp(
        server: MockWebServer,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. cmd/os-readdir_test.go

    func teardown(testResults []result) {
    	for _, r := range testResults {
    		os.RemoveAll(r.dir)
    	}
    }
    
    // TestReadDir - test function to run various readDir() tests.
    func TestReadDir(t *testing.T) {
    	var testResults []result
    
    	// Setup and capture test results for empty directory.
    	testResults = append(testResults, setupTestReadDirEmpty(t)...)
    	// Setup and capture test results for directory with only files.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  10. cmd/config-current.go

    			Description: "[DEPRECATED - use `policy_plugin` instead] enable external OPA for policy enforcement",
    		},
    	}
    
    	config.RegisterHelpDeprecatedSubSys(deprecatedHelpKVMap)
    }
    
    var (
    	// globalServerConfig server config.
    	globalServerConfig   config.Config
    	globalServerConfigMu sync.RWMutex
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top