Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2461 - 2470 of 3,779 for trying (0.03 sec)

  1. internal/rest/rpc-stats.go

    		GotFirstResponseByte: func() {
    			atomic.AddUint64(&globalStats.tcpTimeForFirstByteTotalDur, uint64(time.Since(start)))
    		},
    		ConnectStart: func(network, addr string) {
    			atomic.StoreInt64(&dialStart, time.Now().UnixNano())
    		},
    		ConnectDone: func(network, addr string, err error) {
    			if err == nil {
    				atomic.StoreInt64(&dialEnd, time.Now().UnixNano())
    			}
    		},
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 13 18:21:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. internal/hash/reader_test.go

    	}
    }
    
    // Tests hash reader checksum verification.
    func TestHashReaderVerification(t *testing.T) {
    	testCases := []struct {
    		desc              string
    		src               io.Reader
    		size              int64
    		actualSize        int64
    		md5hex, sha256hex string
    		err               error
    	}{
    		0: {
    			desc:       "Success, no checksum verification provided.",
    			src:        bytes.NewReader([]byte("abcd")),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

         *
         * @param config the configuration to use
         * @param filename the DFS path to get referrals for
         */
        public Trans2GetDfsReferral(final Configuration config, final String filename) {
            this(config, filename, 3);
        }
    
        /**
         * Constructs a Trans2GetDfsReferral request with specified referral level.
         *
         * @param config the configuration to use
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        Response response = client.newCall(request).execute();
        if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
        System.out.println(response.body().string());
      }
    
      public static void main(String... args) throws Exception {
        new UploadProgress().run();
      }
    
      private static class ProgressRequestBody extends RequestBody {
    
        private final ProgressListener progressListener;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  5. tests/test_param_include_in_schema.py

                            "type": "array",
                            "items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
                        },
                        "msg": {"title": "Message", "type": "string"},
                        "type": {"title": "Error Type", "type": "string"},
                    },
                },
            }
        },
    }
    
    
    def test_openapi_schema():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. cmd/common-main_test.go

    package cmd
    
    import (
    	"errors"
    	"os"
    	"reflect"
    	"testing"
    )
    
    func Test_readFromSecret(t *testing.T) {
    	testCases := []struct {
    		content       string
    		expectedErr   bool
    		expectedValue string
    	}{
    		{
    			"value\n",
    			false,
    			"value",
    		},
    		{
    			" \t\n Hello, Gophers \n\t\r\n",
    			false,
    			"Hello, Gophers",
    		},
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (2)
  7. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

        /**
         * Default constructor.
         */
        protected NtlmAuthenticator() {
            // Protected constructor for abstract class
        }
    
        private static NtlmAuthenticator auth;
    
        private String url;
        private SmbAuthException sae;
    
        private void reset() {
            url = null;
            sae = null;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

            SmbException ex = new SmbException(0, root);
            assertSame(root, ex.getRootCause());
        }
    
        /**
         * Verify that the string-ctor sets status to {@code NT_STATUS_UNSUCCESSFUL}.
         */
        @Test
        @DisplayName("String constructor sets NT_STATUS_UNSUCCESSFUL status")
        void testStringConstructor() {
            SmbException ex = new SmbException("custom message");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     * </pre>
     *
     * @see org.apache.maven.api.Session#requirePackaging(String)
     * @see org.apache.maven.api.Project#getPackaging()
     * @see org.apache.maven.api.model.Model#getPackaging()
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Packaging extends ExtensibleEnum {
        /**
         * The packaging id.
         */
        @Nonnull
        @Override
        String id();
    
        /**
         * The language of this packaging.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/ItemForm.java

     */
    public class ItemForm {
    
        /** The path of the storage item */
        public String path;
    
        /**
         * Default constructor.
         */
        public ItemForm() {
            // Default constructor
        }
    
        /** The name of the storage item, limited to 100 characters */
        @Size(max = 100)
        public String name;
    
        /** The file to be uploaded for the storage item */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top