Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for println (0.08 sec)

  1. src/bytes/example_test.go

    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "去是伟大的."))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), ""))
    	fmt.Println(bytes.ContainsAny([]byte(""), ""))
    	// Output:
    	// true
    	// true
    	// false
    	// false
    }
    
    func ExampleContainsRune() {
    	fmt.Println(bytes.ContainsRune([]byte("I like seafood."), 'f'))
    	fmt.Println(bytes.ContainsRune([]byte("I like seafood."), 'ö'))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    						if err != nil {
    							fmt.Println("combine WriteFile:", err)
    						}
    						fmt.Println("Remapped", partName, "to", fn)
    					}
    					delete(partDataToVerID, partName)
    					err := os.WriteFile(fn, data, os.ModePerm)
    					if err != nil {
    						fmt.Println("WriteFile:", err)
    					}
    				}
    			}
    			if len(partDataToVerID) > 0 {
    				fmt.Println("MISSING PART FILES:")
    				for k := range partDataToVerID {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. docs/recipes.md

              if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
              println("Response 2 response:          $it")
              println("Response 2 cache response:    ${it.cacheResponse}")
              println("Response 2 network response:  ${it.networkResponse}")
              return@use it.body!!.string()
            }
    
            println("Response 2 equals Response 1? " + (response1Body == response2Body))
          }
        ```
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            pw.println("# ");
            pw.println("# The Main  ");
            pw.println("# ");
            pw.println("# Comment ");
            pw.println("# ");
            pw.println("");
            pw.println("# Another comment");
            pw.println("");
            pw.println("# A value comment");
            pw.println("key1 = val1");
            pw.println("");
            pw.println("# Another value comment");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NetworkExplorer.java

                out.println("        background: #a2ff01;");
                out.println("    }");
            }
    
            out.println("</STYLE>");
            out.println("</head><body>");
    
            out.print("<a class=\"sort\" style=\"width: " + maxLen + ";\" href=\"?fmt=detail&sort=name\">Name</a>");
            out.println("<a class=\"sort\" href=\"?fmt=detail&sort=size\">Size</a>");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                out.println( "        background: #a2ff01;" );
                out.println( "    }" );
            }
    
            out.println( "</STYLE>" );
            out.println( "</head><body>" );
    
            out.print( "<a class=\"sort\" style=\"width: " + maxLen + ";\" href=\"?fmt=detail&sort=name\">Name</a>" );
            out.println( "<a class=\"sort\" href=\"?fmt=detail&sort=size\">Size</a>" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    		go func() {
    			if o.blockConnect != nil {
    				<-o.blockConnect
    			}
    			c.connect()
    		}()
    	}
    	if debugPrint {
    		fmt.Println(c.Local, "->", c.Remote, "Should local connect:", c.shouldConnect(), "side:", c.side)
    	}
    	if debugReqs {
    		fmt.Println("Created connection", c.String())
    	}
    	return c
    }
    
    // Subroute returns a static subroute for the connection.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            ArrayMap<String, String> m = new ArrayMap<String, String>();
            m.put("1", "d");
            m.put("2", "d");
            System.out.println("remove before:" + m);
            m.remove("2");
            System.out.println("remove after:" + m);
            assertThat(m.containsKey("2"), is(not(true)));
            assertThat(m.containsKey("1"), is(true));
            assertThat(m.get("1"), is("d"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. internal/dsync/dsync_test.go

    	dm1st.Lock(id, source)
    
    	// Release lock after 10 seconds
    	go func() {
    		time.Sleep(5 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    		dm1st.Unlock(context.Background())
    	}()
    
    	dm2nd.Lock(id, source)
    
    	// fmt.Printf("2nd lock obtained after 1st lock is released\n")
    	time.Sleep(testDrwMutexRefreshCallTimeout * 2)
    
    	dm2nd.Unlock(context.Background())
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. internal/grid/muxclient.go

    func (m *muxClient) response(seq uint32, r Response) {
    	if debugReqs {
    		fmt.Println(m.MuxID, m.parent.String(), "RESP")
    	}
    	if debugPrint {
    		fmt.Printf("mux %d: got msg seqid %d, payload length: %d, err:%v\n", m.MuxID, seq, len(r.Msg), r.Err)
    	}
    	if !m.checkSeq(seq) {
    		if debugReqs {
    			fmt.Println(m.MuxID, m.parent.String(), "CHECKSEQ FAIL", m.RecvSeq, seq)
    		}
    		PutByteBuffer(r.Msg)
    		r.Msg = nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top