Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 46 of 46 for Handler (0.15 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. docs/bucket/notifications/README.md

     log.Println("Connected")
    
     // Subscribe to subject
     log.Printf("Subscribing to subject 'bucketevents'\n")
     natsConnection.Subscribe("bucketevents", func(msg *nats.Msg) {
    
      // Handle the message
      log.Printf("Received message '%s\n", string(msg.Data)+"'")
     })
    
     // Keep the connection alive
     runtime.Goexit()
    }
    ```
    
    ```
    go run nats.go
    2016/10/12 06:39:18 Connected
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * names to avoid confusing characters. This includes basic case folding: transforming shouting
     * `SQUARE.COM` into cool and casual `square.com`. It also handles more exotic characters. For
     * example, the Unicode trademark sign (™) could be confused for the letters "TM" in
     * `http://ho™ail.com`. To mitigate this, the single character (™) maps to the string (tm). There
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/Sets.java

       * an element in the set. For example, {@code contains} returns {@code false} when passed an
       * object that equals a set member, but isn't the same instance. This behavior is similar to the
       * way {@code IdentityHashMap} handles key lookups.
       *
       * @since 8.0
       */
      public static <E extends @Nullable Object> Set<E> newIdentityHashSet() {
        return Collections.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    		},
    		// ReadLine doesn't fit the data/pattern easily
    		// so we leave it out. It should be covered via
    		// the ReadSlice test since ReadLine simply calls
    		// ReadSlice, and it's that function that handles
    		// the last byte.
    	}
    
    	// Try all readers with UnreadByte.
    	for rno, read := range readers {
    		// Some input data that is longer than the minimum reader buffer size.
    		const n = 10
    		var buf bytes.Buffer
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    				t.Errorf("TestXLStorage %d: Expected the data read to be \"%s\", but instead got \"%s\"", i+1, "Hello, World", string(dataRead))
    			}
    		}
    	}
    }
    
    // TestNewXLStorage all the cases handled in xlStorage storage layer initialization.
    func TestNewXLStorage(t *testing.T) {
    	// Temporary dir name.
    	tmpDirName := globalTestTmpDir + SlashSeparator + "minio-" + nextSuffix()
    	// Temporary file name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top