Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2551 - 2560 of 3,913 for getK (0.03 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	err := json.Unmarshal(b, rawDump)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from ztunnel: %v", err)
    	}
    	// ensure that data gets unmarshalled into the right data type
    	if err := unmarshalListOrMap(rawDump.Services, &zDump.Services); err != nil {
    		return err
    	}
    	if err := unmarshalListOrMap(rawDump.Workloads, &zDump.Workloads); err != nil {
    		return err
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. docs/em/docs/alternatives.md

    👈 ⚫️❔, 💬 🛂 🕸:
    
    > 📨 1️⃣ 🏆 ⏬ 🐍 📦 🌐 🕰
    
    🌌 👆 ⚙️ ⚫️ 📶 🙅. 🖼, `GET` 📨, 👆 🔜 ✍:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    FastAPI 😑 🛠️ *➡ 🛠️* 💪 👀 💖:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    👀 🔀 `requests.get(...)` & `@app.get(...)`.
    
    /// check | "😮 **FastAPI** "
    
    * ✔️ 🙅 & 🏋️ 🛠️.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          results.add(serializer.submit(Callables.returning(null), directExecutor()));
        }
    
        manualExecutorTask[0].run();
    
        for (Future<?> result : results) {
          if (!result.isCancelled()) {
            result.get(10, SECONDS);
          }
          // TODO(cpovirk): Verify that the cancelled futures are exactly ones that we expect.
        }
    
        assertThat(logHandler.getStoredLogRecords()).isEmpty();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. cmd/erasure-metadata_test.go

    		{3, 2},
    		// Replace existing part.
    		{4, 3},
    		// Missing part.
    		{6, -1},
    	}
    
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    	// Test them.
    	for _, testCase := range testCases {
    		if testCase.expectedIndex > -1 {
    			partNumString := strconv.Itoa(testCase.partNum)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. internal/ioutil/ioutil.go

    	l := int64(len(p))
    	if l == 0 {
    		return 0, nil
    	}
    	if s.skipCount > 0 {
    		tmp := p
    		if s.skipCount > l && l < copyBufferSize {
    			// We may get a very small buffer, so we grab a temporary buffer.
    			bufp := copyBufPool.Get().(*[]byte)
    			buf := *bufp
    			tmp = buf[:copyBufferSize]
    			defer copyBufPool.Put(bufp)
    			l = int64(len(tmp))
    		}
    		for s.skipCount > 0 {
    			if l > s.skipCount {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            assertTrue(res.containsKey("total_words_num"));
            assertTrue(res.containsKey("document_words_num"));
            assertTrue(res.containsKey("query_words_num"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Present.java

      private final T reference;
    
      Present(T reference) {
        this.reference = reference;
      }
    
      @Override
      public boolean isPresent() {
        return true;
      }
    
      @Override
      public T get() {
        return reference;
      }
    
      @Override
      public T or(T defaultValue) {
        checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
        return reference;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

        assertFalse(Thread.currentThread().isInterrupted());
      }
    
      static void clearInterrupt() {
        Thread.interrupted();
      }
    
      /**
       * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long,
       * TimeUnit)} overload in order to test that method.
       */
      static <V> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptParser.java

            }
        }
    
        @Override
        protected EncryptOptions assembleOptions(List<EncryptOptions> parsedOptions) {
            // nothing to assemble, we deal with CLI only
            return parsedOptions.get(0);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            return this;
        }
    
        public boolean hasExceptions() {
            return !getExceptions().isEmpty();
        }
    
        public BuildSummary getBuildSummary(MavenProject project) {
            return buildSummaries.get(project);
        }
    
        public void addBuildSummary(BuildSummary summary) {
            buildSummaries.put(summary.getProject(), summary);
        }
    
        @Override
        public boolean canResume() {
            return canResume;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top