Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 386 for rails (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * will be to permit them, as it seems more likely that code would depend on that behavior than on
       * the other. Thus, we say the bug is in add(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(CollectionAddTester.class, "testAdd_nullSupported");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. .github/workflows/codeql-analysis.yml

          run: ./gradlew --stop
          if: ${{ matrix.language == 'java' }}
    
        # ℹī¸ Command-line programs to run using the OS shell.
        # 📚 https://git.io/JvXDl
    
        # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines
        #    and modify them (or add more) to build your code if your project
        #    uses a compiled language
    
        #- run: |
        #   make bootstrap
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. internal/logger/target/kafka/kafka_scram_client_contrib.go

    // Begin constructs a SCRAM client component based on a given hash.Hash
    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    	x.Client, err = x.HashGeneratorFcn.NewClient(userName, password, authzID)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. cmd/object-api-putobject_test.go

    }
    
    // Tests validate correctness of PutObject.
    func testObjectAPIPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	// Generating cases for which the PutObject fails.
    	bucket := "minio-bucket"
    	object := "minio-object"
    
    	// Create bucket.
    	err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/os_windows.go

    	switch err {
    	case nil:
    		return nil
    	case syscall.ERROR_FILE_NOT_FOUND:
    		return errFileNotFound
    	case syscall.ERROR_ACCESS_DENIED:
    		return errFileAccessDenied
    	default:
    		// Fails on file not found and when not a directory.
    		return osErrToFileErr(&os.PathError{
    			Op:   "FindNextFile",
    			Path: dirPath,
    			Err:  err,
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

            UnsupportedOperationException.class,
            () -> collection.removeAll(MinimalCollection.of(e0())));
        expectUnchanged();
        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().values()).contains(value2);
          assertEquals(ImmutableSet.of(immutableEntry(key2, value2)), cache.asMap().entrySet());
        }
      }
    
      // fails in Maven with 64-bit JDK: https://github.com/google/guava/issues/1568
    
      private void assertCleanup(
          LoadingCache<Integer, String> cache,
          CountingRemovalListener<Integer, String> removalListener) {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/HostAndPort.java

      /**
       * Parses a bracketed host-port string, throwing IllegalArgumentException if parsing fails.
       *
       * @param hostPortString the full bracketed host-port specification. Port might not be specified.
       * @return an array with 2 strings: host and port, in that order.
       * @throws IllegalArgumentException if parsing the bracketed host-port string fails.
       */
      private static String[] getHostAndPortFromBracketedHost(String hostPortString) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         *
         * - Under Java 9+, createTempDir() succeeds because it can look up the *real* username, rather
         * than relying on the one from the system property.
         *
         * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the
         * system property.
         */
    
        String save = System.getProperty("user.name");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. internal/config/identity/openid/providercfg.go

    	}
    }
    
    const (
    	keyCloakVendor = "keycloak"
    )
    
    // initializeProvider initializes if any additional vendor specific information
    // was provided, initialization will return an error initial login fails.
    func (p *providerCfg) initializeProvider(cfgGet func(string) string, transport http.RoundTripper) error {
    	vendor := cfgGet(Vendor)
    	if vendor == "" {
    		return nil
    	}
    	var err error
    	switch vendor {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top