Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2741 - 2750 of 2,992 for DEFAULT (0.24 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            """
            |curl 'https://api.example.com/data' \
            |  -H 'Content-Type: text/plain' \
            |  --data '{"key":"value"}'
            """.trimMargin(),
          )
      }
    
      /** Put is not the default method so `-X 'PUT'` is included. */
      @Test
      fun curlPutWithBody() {
        val body = "{\"key\":\"value\"}".toRequestBody("application/json".toMediaType())
    
        val request =
          Request
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  2. internal/s3select/select.go

    	if s == "" || parsedType == "NONE" {
    		parsedType = noneType
    	}
    
    	switch parsedType {
    	case noneType, gzipType, bzip2Type, snappyType, s2Type, zstdType, lz4Type:
    	default:
    		return errInvalidCompressionFormat(fmt.Errorf("invalid compression format '%v'", s))
    	}
    
    	*c = parsedType
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

       * initialization phase and preferably in a background worker thread.
       *
       * Note that if the application chooses to not call this method to initialize the cache. By
       * default, OkHttp will perform lazy initialization upon the first usage of the cache.
       */
      @Throws(IOException::class)
      fun initialize() {
        cache.initialize()
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  4. docs/de/docs/index.md

    Verwendet von Starlette:
    
    * [`httpx`](https://www.python-httpx.org) – erforderlich, wenn Sie den `TestClient` verwenden möchten.
    * [`jinja2`](https://jinja.palletsprojects.com) – erforderlich, wenn Sie die Default-Template-Konfiguration verwenden möchten.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 23.6K bytes
    - Click Count (1)
  5. tests/test_local_docs.py

    def test_strings_in_generated_swagger():
        sig = inspect.signature(get_swagger_ui_html)
        swagger_js_url = sig.parameters.get("swagger_js_url").default  # type: ignore
        swagger_css_url = sig.parameters.get("swagger_css_url").default  # type: ignore
        swagger_favicon_url = sig.parameters.get("swagger_favicon_url").default  # type: ignore
        html = get_swagger_ui_html(openapi_url="/docs", title="title")
        body_content = html.body.decode()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 2.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/SmbCircuitBreaker.java

        // Hystrix-style windowed statistics
        private final RollingWindow rollingWindow = new RollingWindow(10, 1000); // 10 buckets, 1 second each
    
        /**
         * Create a circuit breaker with default settings
         *
         * @param name circuit breaker name for logging
         */
        public SmbCircuitBreaker(String name) {
            this(name, 5, 3, 60000, 3, false, false, 100);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  7. tests/test_strict_content_type_router_level.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router_lax = APIRouter(prefix="/lax", strict_content_type=False)
    router_strict = APIRouter(prefix="/strict", strict_content_type=True)
    router_default = APIRouter(prefix="/default")
    
    
    @router_lax.post("/items/")
    async def router_lax_post(data: dict):
        return data
    
    
    @router_strict.post("/items/")
    async def router_strict_post(data: dict):
        return data
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertThat(queue.comparator()).isEqualTo(SOME_COMPARATOR);
      }
    
      // TODO: tests that check the weird interplay between expected size,
      // maximum size, size of initial contents, default capacity...
    
      private static void checkNatural(MinMaxPriorityQueue<Integer> queue) {
        assertThat(queue.comparator()).isEqualTo(Ordering.natural());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  9. tests/create_test.go

    	}
    }
    
    func TestCreateOnConflictWithDefaultNull(t *testing.T) {
    	type OnConflictUser struct {
    		ID     string
    		Name   string `gorm:"default:null"`
    		Email  string
    		Mobile string `gorm:"default:'133xxxx'"`
    	}
    
    	err := DB.Migrator().DropTable(&OnConflictUser{})
    	AssertEqual(t, err, nil)
    	err = DB.AutoMigrate(&OnConflictUser{})
    	AssertEqual(t, err, nil)
    
    	u := OnConflictUser{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  10. cmd/bucket-stats_gen.go

    						return
    					}
    				default:
    					err = dc.Skip()
    					if err != nil {
    						err = msgp.WrapError(err, "QueueStats")
    						return
    					}
    				}
    			}
    		case "ProxyStats":
    			err = z.ProxyStats.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "ProxyStats")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 57.3K bytes
    - Click Count (0)
Back to Top