Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4741 - 4750 of 5,353 for Return (0.04 sec)

  1. cmd/metacache-stream_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	return newMetacacheReader(bytes.NewReader(b))
    }
    
    func loadMetacacheSampleEntries(t testing.TB) metaCacheEntriesSorted {
    	r := loadMetacacheSample(t)
    	defer r.Close()
    	entries, err := r.readN(-1, false, true, false, "")
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    
    	return entries
    }
    
    func Test_metacacheReader_readNames(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
        return new Method[] {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. docs/es/docs/async.md

    async def get_burgers(number: int):
        # Hacer algunas cosas asíncronas para crear las hamburguesas
        return burgers
    ```
    
    ...en lugar de `def`:
    
    ```Python hl_lines="2"
    # Esto no es asíncrono
    def get_sequential_burgers(number: int):
        # Hacer algunas cosas secuenciales para crear las hamburguesas
        return burgers
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

            String pin = CertificatePinner.pin(certificate);
            if (denylist.contains(pin)) {
              throw new IOException("Denylisted peer certificate: " + pin);
            }
          }
          return chain.proceed(chain.request());
        }
      };
    
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR)
          .build();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

     * <p>
     * Example usage:
     * <pre>
     * public class Providers {
     *     {@literal @}Provides
     *     {@literal @}Singleton
     *     public static Configuration provideConfiguration() {
     *         return Configuration.load();
     *     }
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/TestProjectBuilder.java

                throws ProjectBuildingException {
            ProjectBuildingResult result = super.build(pomFile, configuration);
    
            result.getProject().setRemoteArtifactRepositories(Collections.emptyList());
    
            return result;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. cmd/metrics-v3-ilm.go

    		m.Set(transitionMissedImmediateTasks, float64(globalTransitionState.MissedImmediateTasks()))
    	}
    	m.Set(versionsScanned, float64(globalScannerMetrics.lifetime(scannerMetricILM)))
    
    	return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/NetbiosNameTest.java

        }
    
        @Test
        @DisplayName("Should handle interface method contracts")
        void testMethodContracts() {
            // The interface should allow for various implementations
            // Test that methods can return any valid values
    
            // Names can be any string
            when(mockNetbiosName.getName()).thenReturn("ANYNAME");
            assertNotNull(mockNetbiosName.getName());
    
            // Scope can be null or any string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertThrows(IllegalArgumentException.class, () -> cfg.getAppConfigurationEntry("any"),
                    "JAAS AppConfigurationEntry requires non-null options");
        }
    
        @Test
        @DisplayName("Repeated calls return distinct entries with equivalent semantics")
        void repeatedCalls_distinctEntriesSameSemantics() {
            // Arrange
            Map<String, Object> opts = new HashMap<>();
            opts.put("doNotPrompt", "true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            int decodedValue = 0;
    
            TestMessage() {
                /* nothing */
            }
    
            @Override
            public int getOpnum() {
                return 0x1234;
            }
    
            @Override
            public void encode_in(NdrBuffer buf) throws NdrException {
                buf.enc_ndr_small(0xAB);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top