Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5241 - 5250 of 6,918 for RETURN (0.12 sec)

  1. internal/config/legacy.go

    package config
    
    // One time migration code section
    
    // SetRegion - One time migration code needed, for migrating from older config to new for server Region.
    func SetRegion(c Config, name string) {
    	if name == "" {
    		return
    	}
    	c[RegionSubSys][Default] = KVS{
    		KV{
    			Key:   RegionName,
    			Value: name,
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Dec 19 20:27:06 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. internal/disk/type_bsd.go

    package disk
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(fstype []int8) string {
    	b := make([]byte, len(fstype))
    	for i, v := range fstype {
    		b[i] = byte(v)
    	}
    	return string(b)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. lib/wasm/wasm_exec_node.js

    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    	});
    	return go.run(result.instance);
    }).catch((err) => {
    	console.error(err);
    	process.exit(1);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Weigher.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
       * relative to each other.
       *
       * @return the weight of the entry; must be non-negative
       */
      int weigh(K key, V value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

            String tmp = text;
            for (final Normalizer normalizer : normalizers) {
                tmp = normalizer.normalize(tmp, field, langs);
            }
            return tmp;
        }
    
        public void add(final Normalizer normalizer) {
            normalizers.add(normalizer);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiNumberFilterFactory.java

            super(indexSettings, name, settings);
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            return new JapaneseNumberFilter(tokenStream);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. tests/test_include_route.py

    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    router = APIRouter()
    
    
    @router.route("/items/")
    def read_items(request: Request):
        return JSONResponse({"hello": "world"})
    
    
    app.include_router(router)
    
    client = TestClient(app)
    
    
    def test_sub_router():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 496 bytes
    - Viewed (0)
  8. docs_src/query_params/tutorial004_py310.py

        if q:
            item.update({"q": q})
        if not short:
            item.update(
                {"description": "This is an amazing item that has a long description"}
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 436 bytes
    - Viewed (0)
  9. docs_src/body_multiple_params/tutorial005_an_py39.py

        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 428 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

                } catch (final Exception e) {
                    logger.warn("Failed to update scores.", e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
            return resultBuf.toString();
        }
    
        protected void addScoreBooster(final ScoreBooster scoreBooster) {
            scoreBoosterList.add(scoreBooster);
            scoreBoosterList.sort((b1, b2) -> b2.getPriority() - b1.getPriority());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top