Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 449 for Helper (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

            } catch (NumberFormatException e) {
                // Fallback to string comparison if parsing fails
                return currentVersion.compareTo(minVersion) < 0;
            }
        }
    
        /**
         * Helper method to get child element text.
         */
        private String getChildText(Element parent, String childName) {
            Element child = parent.child(childName).orElse(null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  2. src/bufio/bufio_test.go

    }
    
    func (w *teststringwriter) WriteString(s string) (int, error) {
    	w.writeString += s
    	return len(s), nil
    }
    
    func (w *teststringwriter) check(t *testing.T, write, writeString string) {
    	t.Helper()
    	if w.write != write {
    		t.Errorf("write: expected %q, got %q", write, w.write)
    	}
    	if w.writeString != writeString {
    		t.Errorf("writeString: expected %q, got %q", writeString, w.writeString)
    	}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  3. cmd/server_test.go

    func (c *check) Assert(gotValue any, expectedValue any) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    	data, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	errorResponse := APIErrorResponse{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  4. generics.go

    	}
    
    	return s.handleAssociationForOwners(base, ctx, func(owner T, assoc *Association) error {
    		return assoc.Append(op.Values...)
    	}, op.Association)
    }
    
    // handleAssociationForOwners is a helper function that handles associations for all owners
    func (s setCreateOrUpdateG[T]) handleAssociationForOwners(base *DB, ctx context.Context, handler func(owner T, association *Association) error, associationName string) error {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

              multiset1.addAll(multiset2);
              return multiset1;
            },
            (Multiset<E> multiset) -> copyOfSortedEntries(comparator, multiset.entrySet()));
      }
    
      @IgnoreJRERequirement // helper for toImmutableSortedMultiset
      /*
       * If we make these calls inline inside toImmutableSortedMultiset, we get an Animal Sniffer error,
       * despite the @IgnoreJRERequirement annotation there. My assumption is that, because javac
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  6. configure.py

        # but this also hurts the performance. Let users decide what they want.
        write_to_bazelrc('build --define=override_eigen_strong_inline=true')
    
    
    def config_info_line(name, help_text):
      """Helper function to print formatted help text for Bazel config options."""
      print('\t--config=%-12s\t# %s' % (name, help_text))
    
    
    def configure_ios(environ_cp):
      """Configures TensorFlow for iOS builds."""
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Apr 30 15:18:54 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  7. cmd/encryption-v1.go

    	if err != nil {
    		return objInfo.ETag
    	}
    	return tryDecryptETag(objectEncryptionKey, objInfo.ETag, true)
    }
    
    // helper to decrypt Etag given object encryption key and encrypted ETag
    func tryDecryptETag(key []byte, encryptedETag string, sses3 bool) string {
    	// ETag for SSE-C or SSE-KMS encrypted objects need not be content MD5Sum.While encrypted
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            slf4jLogger.error(MessageUtils.builder().a("  ").strong(resumeBuildHint).toString());
        }
    
        /**
         * A helper method to determine the value to resume the build with {@code -rf} taking into account the edge case
         *   where multiple modules in the reactor have the same artifactId.
         * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_function_test.cc

        return UseT(ToOutput(inputs));
      }
    
      TF_Operation* UseT(const std::vector<TF_Output>& inputs) {
        TF_Operation* op;
        UseHelper(inputs, &op);
        return op;
      }
    
      // All the *Helper methods are used as a workaround for the restrictions that
      // one cannot call ASSERT_* methods in non-void-returning functions (when
      // exceptions are disabled during compilation)
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 63.6K bytes
    - Click Count (1)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

          Iterable<? extends ListenableFuture<? extends V>> futures) {
        return new FutureCombiner<>(true, ImmutableList.copyOf(futures));
      }
    
      /**
       * A helper to create a new {@code ListenableFuture} whose result is generated from a combination
       * of input futures.
       *
       * <p>See {@link #whenAllComplete} and {@link #whenAllSucceed} for how to instantiate this class.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 64.3K bytes
    - Click Count (0)
Back to Top