Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 971 for Helper (0.29 seconds)

  1. src/test/java/jcifs/smb1/UniAddressTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class UniAddressTest {
    
        /* ---------------------------------------------------------------------
         * 0. Helper methods for parameterised tests
         * --------------------------------------------------------------------- */
        private static Stream<Arguments> hostnamesProvider() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. .teamcity/scripts/CheckWrapper.java

     */
    
    import java.io.*;
    import java.nio.charset.*;
    import java.nio.file.*;
    import java.util.*;
    import java.util.concurrent.*;
    import java.util.regex.*;
    import java.util.stream.*;
    
    /**
     * TeamCity helper script to validate that each commit in a PR uses only released Gradle versions in the wrapper.
     *
     * Usage (Java 11+ single-file source execution):
     *   java .teamcity/scripts/CheckWrapper.java < commits.txt
     *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  3. utils/utils.go

    	return callerFrame(4)
    }
    
    func callerFrame(skip int) runtime.Frame {
    	pcs := [13]uintptr{}
    	// skip is caller-path sensitive and should be selected by each public helper.
    	len := runtime.Callers(skip, pcs[:])
    	frames := runtime.CallersFrames(pcs[:len])
    	for i := 0; i < len; i++ {
    		// second return value is "more", not "ok"
    		frame, _ := frames.Next()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. tensorflow/c/eager/gradients_internal.h

    #ifndef TENSORFLOW_C_EAGER_GRADIENTS_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_GRADIENTS_INTERNAL_H_
    
    #include "tensorflow/c/eager/gradients.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace internal {
    
    // Helper functions which delegate to `AbstractOperation`, update
    // the state of the ForwardOperation and call the tape as appropriate.
    // These APIs are mainly to facilitate testing and are subject to change.
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/ElementOrder.java

        return Objects.hash(type, comparator);
      }
    
      @Override
      public String toString() {
        ToStringHelper helper = MoreObjects.toStringHelper(this).add("type", type);
        if (comparator != null) {
          helper.add("comparator", comparator);
        }
        return helper.toString();
      }
    
      /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         *
         * @param context the upgrade context
         * @return true if this strategy should be applied
         */
        boolean isApplicable(UpgradeContext context);
    
        /**
         * Helper method to check if a specific option is enabled, considering --all flag and defaults.
         *
         * @param options the upgrade options
         * @param specificOption the specific option to check
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            baos.write(content.length);
            baos.write(content);
    
            byte[] token = baos.toByteArray();
            assertThrows(PACDecodingException.class, () -> new KerberosToken(token));
        }
    
        // Helper methods to create test tokens
    
        private byte[] createGssApiWrapper(ASN1ObjectIdentifier oid, byte[] data) throws IOException {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. cmd/lock-rest-server-common_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"os"
    	"reflect"
    	"sync"
    	"testing"
    
    	"github.com/minio/minio/internal/dsync"
    )
    
    // Helper function to create a lock server for testing
    func createLockTestServer(ctx context.Context, t *testing.T) (string, *lockRESTServer, string) {
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            .isEqualTo("a&quot;b&lt;c&gt;d&amp;e&quot;f&apos;");
        // Test '\t', '\n' and '\r' are escaped.
        assertThat(xmlAttributeEscaper.escape("a\tb\nc\rd")).isEqualTo("a&#x9;b&#xA;c&#xD;d");
      }
    
      // Helper to assert common properties of xml escapers.
      static void assertBasicXmlEscaper(
          CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) {
        // Simple examples (smoke tests)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top