Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 1,912 for method (0.06 sec)

  1. src/bufio/example_test.go

    		b := w.AvailableBuffer()
    		b = strconv.AppendInt(b, i, 10)
    		b = append(b, ' ')
    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer.
    func ExampleWriter_ReadFrom() {
    	var buf bytes.Buffer
    	writer := bufio.NewWriter(&buf)
    
    	data := "Hello, world!\nThis is a ReadFrom example."
    	reader := strings.NewReader(data)
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. test-site/activator

        echo "Detected MAC OSX launched script...."
        echo "Swapping to UI"
        addResidual "ui"
      }
    }
    
    # Processes incoming arguments and places them in appropriate global variables.  called by the run method.
    process_args () {
      while [[ $# -gt 0 ]]; do
        case "$1" in
           -h|-help) usage; exit 1 ;;
        -v|-verbose) verbose=1 && shift ;;
          -d|-debug) debug=1 && shift ;;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ### Different URLs should be different
     *
     * Although they have different content, `java.net.URL` considers the following two URLs
     * equal, and the [equals()][Object.equals] method between them returns true:
     *
     *  * https://example.net/
     *
     *  * https://example.com/
     *
     * This is because those two hosts share the same IP address. This is an old, bad design decision
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  4. internal/config/dns/operator_dns.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    var (
    	defaultOperatorContextTimeout = 10 * time.Second
    	// ErrNotImplemented - Indicates the functionality which is not implemented
    	ErrNotImplemented = errors.New("The method is not implemented")
    )
    
    func (c *OperatorDNS) addAuthHeader(r *http.Request) error {
    	if c.username == "" || c.password == "" {
    		return nil
    	}
    
    	claims := &jwt.StandardClaims{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class_test.go

    			continue
    		}
    		if parity != tt.expectedParity {
    			t.Errorf("Test %d, Expected parity drives %d, got %d", i+1, tt.expectedParity, parity)
    		}
    	}
    }
    
    // Test IsValid method with valid and invalid inputs
    func TestIsValidStorageClassKind(t *testing.T) {
    	tests := []struct {
    		sc   string
    		want bool
    	}{
    		{"STANDARD", true},
    		{"REDUCED_REDUNDANCY", true},
    		{"", false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

        /**
         * Gets the sequence of model identifiers that denote the lineage of models from which the effective model was
         * constructed. Model identifiers should be handled as "opaque strings" and this method should be used as source
         * if navigating the linage. The first identifier from the list denotes the model on which the model builder
         * was originally invoked. The last identifier will always be the super POM.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/build.gradle.kts

           the task as up-to-date, because these two files, which are based on
           the generated index.xml, are outputs, not inputs. We can be sure of
           this because they are deleted in the @BeforeEach method of the
           OsgiTest test class.
    
           - To enable the benefit of incremental builds, we can ask Gradle
           to ignore these two files when considering whether the classpath
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

                StackOverflowError.class,
                e -> e instanceof StackOverflowError);
          }
        };
    
        // used under GWT, etc., since the override of this method does not exist there
        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

                StackOverflowError.class,
                e -> e instanceof StackOverflowError);
          }
        };
    
        // used under GWT, etc., since the override of this method does not exist there
        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

                StackOverflowError.class,
                e -> e instanceof StackOverflowError);
          }
        };
    
        // used under GWT, etc., since the override of this method does not exist there
        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top