Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4201 - 4210 of 4,280 for From (0.07 sec)

  1. internal/crypto/header_test.go

    		}
    		if err == nil && key == zeroKey {
    			t.Errorf("Test %d: parsed client key is zero key", i)
    		}
    		if _, ok := test.Header[xhttp.AmzServerSideEncryptionCustomerKey]; ok {
    			t.Errorf("Test %d: client key is not removed from HTTP headers after parsing", i)
    		}
    	}
    }
    
    var removeSensitiveHeadersTests = []struct {
    	Header, ExpectedHeader http.Header
    }{
    	{
    		Header: http.Header{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	}
    	if versions < 0 {
    		return 0, 0, 0, buf, fmt.Errorf("decodeXLHeaders: Negative version count %d", versions)
    	}
    	return versions, hdrVer, metaVer, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Return errDoneForNow to stop processing and return nil.
    // Any non-nil error is returned.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertEquals(0, MoreFiles.listFiles(dir).size());
        }
      }
    
      /**
       * This test attempts to create a situation in which one thread is constantly changing a file from
       * being a real directory to being a symlink to another directory. It then calls
       * deleteDirectoryContents thousands of times on a directory whose subtree contains the file
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // setBucketForwardingMiddleware middleware forwards the path style requests
    // on a bucket to the right bucket location, bucket to IP configuration
    // is obtained from centralized etcd configuration service.
    func setBucketForwardingMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> builder.buildOrThrow());
        // We don't really care which values the exception message contains, but they should be
        // different from each other. If buildKeepingLast() collapsed duplicates, that might end up not
        // being true.
        Pattern pattern = Pattern.compile("Multiple entries with same key: four=(.*) and four=(.*)");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. cmd/metacache-entries_test.go

    					ModTime:   baseTime.Add(90 * time.Minute).UnixNano(),
    					Signature: [4]byte{6, 1, 1, 1},
    					Type:      DeleteType,
    					Flags:     0,
    				}},
    			},
    		},
    		// Delete marker and version from 1
    		9: {
    			versions: []xlMetaV2ShallowVersion{
    				{header: xlMetaV2VersionHeader{
    					VersionID: [16]byte{7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7},
    					ModTime:   baseTime.Add(90 * time.Minute).UnixNano(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      TF_Graph* g1 = TF_NewGraph();
      TF_Graph* g2 = TF_NewGraph();
    
      TF_Operation* feed = Placeholder(g1, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Attempt to create node in g2 with input from g1
      Neg(feed, g2, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s));
      EXPECT_STREQ("foo", TF_Message(s));
    
      TF_DeleteGraph(g1);
      TF_DeleteGraph(g2);
      TF_DeleteStatus(s);
    }
    */
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. cmd/api-router.go

    		var throttledHandler http.HandlerFunc = gzippedHandler
    		if !handlerFlags.has(noThrottleS3HFlag) {
    			throttledHandler = maxClients(throttledHandler)
    		}
    
    		// Collect API stats using the API name got from reflection in
    		// `getHandlerName`.
    		statsCollectedHandler := collectAPIStats(handlerName, throttledHandler)
    
    		// Call the final handler.
    		statsCollectedHandler(w, r)
    	}
    
    	return handler
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/EnumTest.java

                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        // BUG #15
        // this cannot be reproduced against samba, samba always subtracts
        // 8 bytes from the output buffer length, probably to mitigate
        // against this issue
        public void testEnumBufferSize () throws IOException {
            CIFSContext ctx = getContext();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

         * @throws IOException
         */
        private void negotiatePeek () throws SocketException, IOException {
            /*
             * Note the Transport thread isn't running yet so we can
             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if ( peekKey() == null ) /* try to read header */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top